summaryrefslogtreecommitdiff
path: root/std/io/readers_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-04-28 12:33:09 +0200
committerGitHub <noreply@github.com>2020-04-28 12:33:09 +0200
commit8feb30e3258ed9690eb850e3ca22842b260a0403 (patch)
tree6805bfe3df675c2c7f6a379093061c6b73d8365a /std/io/readers_test.ts
parentb508e845671de9351c3f51755647371d76128d29 (diff)
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named function.
Diffstat (limited to 'std/io/readers_test.ts')
-rw-r--r--std/io/readers_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/io/readers_test.ts b/std/io/readers_test.ts
index 05b63b892..c94285581 100644
--- a/std/io/readers_test.ts
+++ b/std/io/readers_test.ts
@@ -5,7 +5,7 @@ import { StringWriter } from "./writers.ts";
import { copyN } from "./ioutil.ts";
import { decode } from "../encoding/utf8.ts";
-test(async function ioStringReader(): Promise<void> {
+test("ioStringReader", async function (): Promise<void> {
const r = new StringReader("abcdef");
const res0 = await r.read(new Uint8Array(6));
assertEquals(res0, 6);
@@ -13,7 +13,7 @@ test(async function ioStringReader(): Promise<void> {
assertEquals(res1, Deno.EOF);
});
-test(async function ioStringReader(): Promise<void> {
+test("ioStringReader", async function (): Promise<void> {
const r = new StringReader("abcdef");
const buf = new Uint8Array(3);
const res1 = await r.read(buf);
@@ -27,7 +27,7 @@ test(async function ioStringReader(): Promise<void> {
assertEquals(decode(buf), "def");
});
-test(async function ioMultiReader(): Promise<void> {
+test("ioMultiReader", async function (): Promise<void> {
const r = new MultiReader(new StringReader("abc"), new StringReader("def"));
const w = new StringWriter();
const n = await copyN(r, w, 4);