summaryrefslogtreecommitdiff
path: root/cli/js/text_encoding_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-02-21 10:36:13 -0500
committerGitHub <noreply@github.com>2020-02-21 10:36:13 -0500
commitdd8a10948195f231a6a9eb652e3f208813904ad6 (patch)
treef9a4afeb67bbead882c29c2458a5f1f99e2e42db /cli/js/text_encoding_test.ts
parentd9efb8c02a0036d755c35e8e9c88d58bd45a9e2b (diff)
refactor: remove unneeded ErrorKinds (#3936)
Diffstat (limited to 'cli/js/text_encoding_test.ts')
-rw-r--r--cli/js/text_encoding_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/text_encoding_test.ts b/cli/js/text_encoding_test.ts
index 2422f86f6..28f23511a 100644
--- a/cli/js/text_encoding_test.ts
+++ b/cli/js/text_encoding_test.ts
@@ -59,7 +59,7 @@ test(function btoaFailed(): void {
err = e;
}
assert(!!err);
- assertEquals(err.name, "InvalidInput");
+ assert(err instanceof TypeError);
});
test(function textDecoder2(): void {