summaryrefslogtreecommitdiff
path: root/cli/tests/unit/text_encoding_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/text_encoding_test.ts')
-rw-r--r--cli/tests/unit/text_encoding_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/text_encoding_test.ts b/cli/tests/unit/text_encoding_test.ts
index 6a9274d02..4c5606a4f 100644
--- a/cli/tests/unit/text_encoding_test.ts
+++ b/cli/tests/unit/text_encoding_test.ts
@@ -104,10 +104,10 @@ unitTest(function textDecoderASCII(): void {
unitTest(function textDecoderErrorEncoding(): void {
let didThrow = false;
try {
- new TextDecoder("foo");
+ new TextDecoder("Foo");
} catch (e) {
didThrow = true;
- assertEquals(e.message, "The encoding label provided ('foo') is invalid.");
+ assertEquals(e.message, "The encoding label provided ('Foo') is invalid.");
}
assert(didThrow);
});