summaryrefslogtreecommitdiff
path: root/js/text_encoding_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/text_encoding_test.ts')
-rw-r--r--js/text_encoding_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/text_encoding_test.ts b/js/text_encoding_test.ts
index f015a9452..30a75f8d4 100644
--- a/js/text_encoding_test.ts
+++ b/js/text_encoding_test.ts
@@ -1,13 +1,13 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assert, assertEquals } from "./test_util.ts";
-test(function atobSuccess(): void {
+test(function btoaSuccess(): void {
const text = "hello world";
const encoded = btoa(text);
assertEquals(encoded, "aGVsbG8gd29ybGQ=");
});
-test(function btoaSuccess(): void {
+test(function atobSuccess(): void {
const encoded = "aGVsbG8gd29ybGQ=";
const decoded = atob(encoded);
assertEquals(decoded, "hello world");