From 17467d01dad3f280b7f788ba87953392a8e304bb Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Tue, 20 Oct 2020 19:51:57 +0800 Subject: fix(std/io): remove trivial internal util.ts module (#8032) --- std/io/util_test.ts | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 std/io/util_test.ts (limited to 'std/io/util_test.ts') diff --git a/std/io/util_test.ts b/std/io/util_test.ts deleted file mode 100644 index c602a90d3..000000000 --- a/std/io/util_test.ts +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { assert } from "../testing/asserts.ts"; -import * as path from "../path/mod.ts"; -import { tempFile } from "./util.ts"; - -Deno.test({ - name: "[io/util] tempfile", - fn: async function (): Promise { - const f = await tempFile(".", { - prefix: "prefix-", - postfix: "-postfix", - }); - const base = path.basename(f.filepath); - assert(!!base.match(/^prefix-.+?-postfix$/)); - f.file.close(); - await Deno.remove(f.filepath); - }, -}); -- cgit v1.2.3