summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_util/std_asserts.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/_util/std_asserts.ts')
-rw-r--r--ext/node/polyfills/_util/std_asserts.ts15
1 files changed, 8 insertions, 7 deletions
diff --git a/ext/node/polyfills/_util/std_asserts.ts b/ext/node/polyfills/_util/std_asserts.ts
index f25904251..78b749f54 100644
--- a/ext/node/polyfills/_util/std_asserts.ts
+++ b/ext/node/polyfills/_util/std_asserts.ts
@@ -2,13 +2,6 @@
// vendored from std/assert/mod.ts
import { primordials } from "ext:core/mod.js";
-import { URLPrototype } from "ext:deno_url/00_url.js";
-import { red } from "ext:deno_node/_util/std_fmt_colors.ts";
-import {
- buildMessage,
- diff,
- diffstr,
-} from "ext:deno_node/_util/std_testing_diff.ts";
const {
DatePrototype,
ArrayPrototypeJoin,
@@ -37,6 +30,14 @@ const {
WeakRefPrototypeDeref,
} = primordials;
+import { URLPrototype } from "ext:deno_url/00_url.js";
+import { red } from "ext:deno_node/_util/std_fmt_colors.ts";
+import {
+ buildMessage,
+ diff,
+ diffstr,
+} from "ext:deno_node/_util/std_testing_diff.ts";
+
const FORMAT_PATTERN = new SafeRegExp(/(?=["\\])/g);
/** Converts the input into a string. Objects, Sets and Maps are sorted so as to