summaryrefslogtreecommitdiff
path: root/std/io/util_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/io/util_test.ts')
-rw-r--r--std/io/util_test.ts18
1 files changed, 0 insertions, 18 deletions
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<void> {
- 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);
- },
-});