diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2024-01-11 07:37:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 15:37:25 -0700 |
commit | 515a34b4de222e35c7ade1b92614d746e73d4c2e (patch) | |
tree | 8284201fc826a33f12597959a8a8be14e0f524bd /ext/node/polyfills/_util/std_asserts.ts | |
parent | d4893eb51a01c5a692d8ca74a3b8ff95c5fd1d9f (diff) |
refactor: use `core.ensureFastOps()` (#21888)
Diffstat (limited to 'ext/node/polyfills/_util/std_asserts.ts')
-rw-r--r-- | ext/node/polyfills/_util/std_asserts.ts | 15 |
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 |