From 3ef94c5473ac77366d009c7a7c665f695670f886 Mon Sep 17 00:00:00 2001 From: Chris Knight Date: Sun, 7 Jun 2020 14:20:33 +0100 Subject: refactor(std): remove testing dependencies from non-test code (#5838) --- std/node/_fs/_fs_dir.ts | 2 +- std/node/events.ts | 2 +- std/node/module.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'std/node') 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); -- cgit v1.2.3