From 515a34b4de222e35c7ade1b92614d746e73d4c2e Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Thu, 11 Jan 2024 07:37:25 +0900 Subject: refactor: use `core.ensureFastOps()` (#21888) --- ext/node/polyfills/_util/std_asserts.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'ext/node/polyfills/_util/std_asserts.ts') 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 -- cgit v1.2.3