diff options
| author | Casper Beyer <caspervonb@pm.me> | 2020-10-20 19:51:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-20 13:51:57 +0200 |
| commit | 17467d01dad3f280b7f788ba87953392a8e304bb (patch) | |
| tree | c9b8714a0ec222bbb9525071368ac8a923e7f8aa /std/io/util_test.ts | |
| parent | 9cf06f76fdeb4b8cff4a47e269984d3b9a64a9be (diff) | |
fix(std/io): remove trivial internal util.ts module (#8032)
Diffstat (limited to 'std/io/util_test.ts')
| -rw-r--r-- | std/io/util_test.ts | 18 |
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); - }, -}); |
