From feff6361b1247c82bb86aedfea349b04899b9610 Mon Sep 17 00:00:00 2001 From: ali ahmed <48116123+AliBasicCoder@users.noreply.github.com> Date: Sun, 24 Jan 2021 21:08:01 +0200 Subject: feat(op_crates/web): adding gb18030 and GBK encodings (#9242) --- cli/tests/unit/text_encoding_test.ts | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'cli/tests/unit/text_encoding_test.ts') diff --git a/cli/tests/unit/text_encoding_test.ts b/cli/tests/unit/text_encoding_test.ts index de6822bf4..58905157a 100644 --- a/cli/tests/unit/text_encoding_test.ts +++ b/cli/tests/unit/text_encoding_test.ts @@ -103,17 +103,6 @@ unitTest(function textDecoderErrorEncoding(): void { assert(didThrow); }); -unitTest(function textDecoderHandlesNotFoundInternalDecoder() { - let didThrow = false; - try { - new TextDecoder("gbk"); - } catch (e) { - didThrow = true; - assert(e instanceof RangeError); - } - assert(didThrow); -}); - unitTest(function textEncoder(): void { const fixture = "𝓽𝓮𝔁𝓽"; const encoder = new TextEncoder(); -- cgit v1.2.3