diff options
author | Tim Reichen <timreichen@users.noreply.github.com> | 2020-10-26 16:03:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-26 16:03:30 +0100 |
commit | ae86cbb551f7b88f83d73a447411f753485e49e2 (patch) | |
tree | 312231d858369a0091b23e6310ba82b8d97f57cc /std/fs/expand_glob_test.ts | |
parent | 305a9c04ba60630f9708b681cfebb522a6110cc3 (diff) |
rename(std/testing): rename assert*Contains to assert*Includes (#7951)
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
Diffstat (limited to 'std/fs/expand_glob_test.ts')
-rw-r--r-- | std/fs/expand_glob_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fs/expand_glob_test.ts b/std/fs/expand_glob_test.ts index 39235906b..768c6465a 100644 --- a/std/fs/expand_glob_test.ts +++ b/std/fs/expand_glob_test.ts @@ -3,7 +3,7 @@ import { decode } from "../encoding/utf8.ts"; import { assert, assertEquals, - assertStringContains, + assertStringIncludes, } from "../testing/asserts.ts"; import { fromFileUrl, @@ -126,7 +126,7 @@ Deno.test("expandGlobPermError", async function (): Promise<void> { }); assertEquals(await p.status(), { code: 1, success: false }); assertEquals(decode(await p.output()), ""); - assertStringContains( + assertStringIncludes( decode(await p.stderrOutput()), "Uncaught PermissionDenied", ); |