summaryrefslogtreecommitdiff
path: root/std/fs/expand_glob_test.ts
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-06-06 11:43:00 +0800
committerGitHub <noreply@github.com>2020-06-05 23:43:00 -0400
commited5aedc6b4a1d72208649afd8793e288d94021b1 (patch)
treef5039c94c2a4d03182a5b97dbc0471a1b3123eb1 /std/fs/expand_glob_test.ts
parentc137b11abfb946ef72a5fcb27e11e0b286a33be3 (diff)
Rename abbreviated assertions in std/testing (#6118)
Diffstat (limited to 'std/fs/expand_glob_test.ts')
-rw-r--r--std/fs/expand_glob_test.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/std/fs/expand_glob_test.ts b/std/fs/expand_glob_test.ts
index 24885530b..7d60d024e 100644
--- a/std/fs/expand_glob_test.ts
+++ b/std/fs/expand_glob_test.ts
@@ -1,6 +1,10 @@
const { cwd, execPath, run } = Deno;
import { decode } from "../encoding/utf8.ts";
-import { assert, assertEquals, assertStrContains } from "../testing/asserts.ts";
+import {
+ assert,
+ assertEquals,
+ assertStringContains,
+} from "../testing/asserts.ts";
import {
join,
joinGlobs,
@@ -122,7 +126,7 @@ Deno.test("expandGlobPermError", async function (): Promise<void> {
});
assertEquals(await p.status(), { code: 1, success: false });
assertEquals(decode(await p.output()), "");
- assertStrContains(
+ assertStringContains(
decode(await p.stderrOutput()),
"Uncaught PermissionDenied"
);