diff options
author | ali ahmed <48116123+AliBasicCoder@users.noreply.github.com> | 2021-01-24 21:08:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-24 20:08:01 +0100 |
commit | feff6361b1247c82bb86aedfea349b04899b9610 (patch) | |
tree | 0a1c92f59d8492c067d0793169c28945f969b2a4 /cli/tests/unit/text_encoding_test.ts | |
parent | ad60e750d75471d7c7f31f9f40ff233a29aba332 (diff) |
feat(op_crates/web): adding gb18030 and GBK encodings (#9242)
Diffstat (limited to 'cli/tests/unit/text_encoding_test.ts')
-rw-r--r-- | cli/tests/unit/text_encoding_test.ts | 11 |
1 files changed, 0 insertions, 11 deletions
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(); |