diff options
Diffstat (limited to 'std/fs/exists_test.ts')
-rw-r--r-- | std/fs/exists_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fs/exists_test.ts b/std/fs/exists_test.ts index f4088e03a..6619cce10 100644 --- a/std/fs/exists_test.ts +++ b/std/fs/exists_test.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { assertEquals, assertStringContains } from "../testing/asserts.ts"; +import { assertEquals, assertStringIncludes } from "../testing/asserts.ts"; import * as path from "../path/mod.ts"; import { exists, existsSync } from "./exists.ts"; @@ -130,7 +130,7 @@ for (const s of scenes) { const output = await p.output(); p.close(); - assertStringContains(new TextDecoder().decode(output), s.output); + assertStringIncludes(new TextDecoder().decode(output), s.output); }); // done } |