diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-11 17:24:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 17:24:27 +0100 |
commit | 61273085e40fb4d992eef4b1b5601e3567c80664 (patch) | |
tree | 1ac0f401d4cb897bdb6f88e3a5c47fece2856f89 /std/path/glob_test.ts | |
parent | e0bcecee6042b219c6626172851af5a25362b948 (diff) |
refactor: rewrite tests in std/ to use Deno.test (#3930)
Diffstat (limited to 'std/path/glob_test.ts')
-rw-r--r-- | std/path/glob_test.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/std/path/glob_test.ts b/std/path/glob_test.ts index 7f67ca219..d8da1a47b 100644 --- a/std/path/glob_test.ts +++ b/std/path/glob_test.ts @@ -1,5 +1,4 @@ -const { mkdir } = Deno; -import { test, runIfMain } from "../testing/mod.ts"; +const { mkdir, test } = Deno; import { assert, assertEquals } from "../testing/asserts.ts"; import { testWalk, touch, walkArray } from "../fs/walk_test.ts"; import { globToRegExp, isGlob, joinGlobs, normalizeGlob } from "./glob.ts"; @@ -247,5 +246,3 @@ test(function normalizeGlobGlobstar(): void { test(function joinGlobsGlobstar(): void { assertEquals(joinGlobs(["**", ".."], { globstar: true }), `**${SEP}..`); }); - -runIfMain(import.meta); |