From a4551c853e25a08ea479c5b75f60dc4109eee72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=B7=E6=B8=A1?= Date: Mon, 29 Apr 2019 00:14:57 +0800 Subject: fix test description for `atob` (#2232) --- js/text_encoding_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/text_encoding_test.ts') 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"); -- cgit v1.2.3