summaryrefslogtreecommitdiff
path: root/std/node/module_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/node/module_test.ts
parentc137b11abfb946ef72a5fcb27e11e0b286a33be3 (diff)
Rename abbreviated assertions in std/testing (#6118)
Diffstat (limited to 'std/node/module_test.ts')
-rw-r--r--std/node/module_test.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/std/node/module_test.ts b/std/node/module_test.ts
index 234e9f0f4..b1a22c0f6 100644
--- a/std/node/module_test.ts
+++ b/std/node/module_test.ts
@@ -1,7 +1,11 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const { test } = Deno;
-import { assertEquals, assert, assertStrContains } from "../testing/asserts.ts";
+import {
+ assertEquals,
+ assert,
+ assertStringContains,
+} from "../testing/asserts.ts";
import { createRequire } from "./module.ts";
const require = createRequire(import.meta.url);
@@ -54,6 +58,6 @@ test("requireStack", function () {
try {
hello();
} catch (e) {
- assertStrContains(e.stack, "/tests/cjs/cjs_throw.js");
+ assertStringContains(e.stack, "/tests/cjs/cjs_throw.js");
}
});