aboutsummaryrefslogtreecommitdiff
path: root/test/js/web/encoding/text-decoder.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/js/web/encoding/text-decoder.test.js')
-rw-r--r--test/js/web/encoding/text-decoder.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/js/web/encoding/text-decoder.test.js b/test/js/web/encoding/text-decoder.test.js
index d8038e628..8ec097f31 100644
--- a/test/js/web/encoding/text-decoder.test.js
+++ b/test/js/web/encoding/text-decoder.test.js
@@ -229,7 +229,7 @@ describe("TextDecoder", () => {
it("should respect fatal when encountering invalid data", () => {
const decoder = new TextDecoder("utf-8", { fatal: true });
expect(() => {
- decoder.decode(new Uint8Array([0xC0])) // Invalid UTF8
+ decoder.decode(new Uint8Array([0xc0])); // Invalid UTF8
}).toThrow(TypeError);
});