diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2023-03-23 10:01:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 10:01:07 -0400 |
commit | a3529d02329e0d2127ad2a5bb78b4c476ddd6984 (patch) | |
tree | e49cbc9ba875c963daa8333bda4bc44b2c1b5300 /cli/tests/unit_node/util_test.ts | |
parent | 64602e70271750c5420d53f2189bf1286ce13fba (diff) |
refactor(ext/node): Use Deno.inspect (#17960)
No need for two almost identical implementations of the same thing
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com>
Diffstat (limited to 'cli/tests/unit_node/util_test.ts')
-rw-r--r-- | cli/tests/unit_node/util_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit_node/util_test.ts b/cli/tests/unit_node/util_test.ts index 81794c856..44b20299e 100644 --- a/cli/tests/unit_node/util_test.ts +++ b/cli/tests/unit_node/util_test.ts @@ -12,7 +12,7 @@ import * as util from "node:util"; Deno.test({ name: "[util] format", fn() { - assertEquals(util.format("%o", [10, 11]), "[ 10, 11, [length]: 2 ]"); + assertEquals(util.format("%o", [10, 11]), "[ 10, 11 ]"); }, }); |