summaryrefslogtreecommitdiff
path: root/cli/tests/unit/text_encoding_test.ts
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-06-26 15:10:27 +0200
committerGitHub <noreply@github.com>2023-06-26 09:10:27 -0400
commit801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch)
tree145f840c570dd72258ef309e9d31f100a5aa5786 /cli/tests/unit/text_encoding_test.ts
parentad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff)
chore: fix typos (#19572)
Diffstat (limited to 'cli/tests/unit/text_encoding_test.ts')
-rw-r--r--cli/tests/unit/text_encoding_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/text_encoding_test.ts b/cli/tests/unit/text_encoding_test.ts
index 940dd9f74..b76e9a9bf 100644
--- a/cli/tests/unit/text_encoding_test.ts
+++ b/cli/tests/unit/text_encoding_test.ts
@@ -250,17 +250,17 @@ Deno.test(function toStringShouldBeWebCompatibility() {
Deno.test(function textEncoderShouldCoerceToString() {
const encoder = new TextEncoder();
- const fixutreText = "text";
+ const fixtureText = "text";
const fixture = {
toString() {
- return fixutreText;
+ return fixtureText;
},
};
const bytes = encoder.encode(fixture as unknown as string);
const decoder = new TextDecoder();
const decoded = decoder.decode(bytes);
- assertEquals(decoded, fixutreText);
+ assertEquals(decoded, fixtureText);
});
Deno.test(function binaryEncode() {