summaryrefslogtreecommitdiff
path: root/std/node/module_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/module_test.ts')
-rw-r--r--std/node/module_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/node/module_test.ts b/std/node/module_test.ts
index 2b8c5c790..2b3ed3eed 100644
--- a/std/node/module_test.ts
+++ b/std/node/module_test.ts
@@ -3,7 +3,7 @@
import {
assert,
assertEquals,
- assertStringContains,
+ assertStringIncludes,
} from "../testing/asserts.ts";
import * as path from "../path/mod.ts";
@@ -67,6 +67,6 @@ Deno.test("requireStack", function () {
try {
hello();
} catch (e) {
- assertStringContains(e.stack, "/tests/cjs/cjs_throw.js");
+ assertStringIncludes(e.stack, "/tests/cjs/cjs_throw.js");
}
});