diff options
Diffstat (limited to 'op_crates/web/text_encoding_test.js')
-rw-r--r-- | op_crates/web/text_encoding_test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/op_crates/web/text_encoding_test.js b/op_crates/web/text_encoding_test.js index 7f6774ed4..9a4bb492b 100644 --- a/op_crates/web/text_encoding_test.js +++ b/op_crates/web/text_encoding_test.js @@ -163,10 +163,10 @@ function textDecoderASCII() { function textDecoderErrorEncoding() { let didThrow = false; try { - new TextDecoder("foo"); + new TextDecoder("Foo"); } catch (e) { didThrow = true; - assert(e.message === "The encoding label provided ('foo') is invalid."); + assert(e.message === "The encoding label provided ('Foo') is invalid."); } assert(didThrow); } |