From c65d0c63e78ba3b50bf1260e40d999e35fda8d05 Mon Sep 17 00:00:00 2001 From: Yusuke Sakurai Date: Fri, 28 Feb 2020 05:12:04 +0900 Subject: reduce unnecessary output on tests (#4148) --- std/io/util_test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'std/io/util_test.ts') diff --git a/std/io/util_test.ts b/std/io/util_test.ts index f7179cd1e..575709e39 100644 --- a/std/io/util_test.ts +++ b/std/io/util_test.ts @@ -4,7 +4,7 @@ import { assert, assertEquals } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; import { copyBytes, tempFile } from "./util.ts"; -test(function testCopyBytes(): void { +test("[io/tuil] copyBytes", function(): void { const dst = new Uint8Array(4); dst.fill(0); @@ -38,12 +38,11 @@ test(function testCopyBytes(): void { assertEquals(dst, Uint8Array.of(3, 4, 0, 0)); }); -test(async function ioTempfile(): Promise { +test("[io/util] tempfile", async function(): Promise { const f = await tempFile(".", { prefix: "prefix-", postfix: "-postfix" }); - console.log(f.file, f.filepath); const base = path.basename(f.filepath); assert(!!base.match(/^prefix-.+?-postfix$/)); await remove(f.filepath); -- cgit v1.2.3