simplified stuff (thx WebStorm)

This commit is contained in:
Sebastian Seedorf
2020-12-05 23:00:08 +01:00
parent adf8c400bc
commit 87e69e29c6
8 changed files with 21 additions and 20 deletions

View File

@@ -11,8 +11,8 @@ Deno.test("isString (match)", async () => {
null,
"",
"foo",
new String(),
new String("bar"),
String(),
String("bar"),
];
for (const value of values) {
assertEquals(await validate(value, isString()), [], String(value));
@@ -27,7 +27,7 @@ Deno.test("isString (no match)", async () => {
false,
() => {},
function named() {},
new Object(),
{},
Symbol(),
];
for (const value of values) {