summaryrefslogtreecommitdiff
path: root/std/node
diff options
context:
space:
mode:
authorChris Knight <cknight1234@gmail.com>2020-06-07 14:20:33 +0100
committerGitHub <noreply@github.com>2020-06-07 09:20:33 -0400
commit3ef94c5473ac77366d009c7a7c665f695670f886 (patch)
tree0baa502ca705e9e0a38e013def65f1ab545e643b /std/node
parentadffbacfe49aac480fc34e78035200ab9602443c (diff)
refactor(std): remove testing dependencies from non-test code (#5838)
Diffstat (limited to 'std/node')
-rw-r--r--std/node/_fs/_fs_dir.ts2
-rw-r--r--std/node/events.ts2
-rw-r--r--std/node/module.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/std/node/_fs/_fs_dir.ts b/std/node/_fs/_fs_dir.ts
index a39422ce0..7f2085b3b 100644
--- a/std/node/_fs/_fs_dir.ts
+++ b/std/node/_fs/_fs_dir.ts
@@ -1,5 +1,5 @@
import Dirent from "./_fs_dirent.ts";
-import { assert } from "../../testing/asserts.ts";
+import { assert } from "../../_util/assert.ts";
export default class Dir {
private dirPath: string | Uint8Array;
diff --git a/std/node/events.ts b/std/node/events.ts
index aa62e4d43..cb9acb0f5 100644
--- a/std/node/events.ts
+++ b/std/node/events.ts
@@ -22,7 +22,7 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.
import { validateIntegerRange } from "./util.ts";
-import { assert } from "../testing/asserts.ts";
+import { assert } from "../_util/assert.ts";
export interface WrappedFunction extends Function {
listener: Function;
diff --git a/std/node/module.ts b/std/node/module.ts
index 8d0160f78..daa01d2b2 100644
--- a/std/node/module.ts
+++ b/std/node/module.ts
@@ -31,7 +31,7 @@ import * as nodeEvents from "./events.ts";
import * as nodeQueryString from "./querystring.ts";
import * as path from "../path/mod.ts";
-import { assert } from "../testing/asserts.ts";
+import { assert } from "../_util/assert.ts";
import { pathToFileURL, fileURLToPath } from "./url.ts";
const CHAR_FORWARD_SLASH = "/".charCodeAt(0);