diff options
Diffstat (limited to 'std/io')
-rw-r--r-- | std/io/util_test.ts | 5 |
1 files changed, 2 insertions, 3 deletions
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<void> { +test("[io/util] tempfile", async function(): Promise<void> { 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); |