diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-30 17:33:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 15:33:28 +0000 |
commit | 381f5801f924f204e9b7a693d8f6e78e63a654b8 (patch) | |
tree | f96f7900da77636c6ae79dc60aedd53b0d18ed5e /cli/tests/unit_node/util_test.ts | |
parent | e0429e2ad641e9207e00838de209ce33b3562f70 (diff) |
Revert "refactor(ext/node): Use Deno.inspect (#17960)" (#18491)
This reverts commit a3529d02329e0d2127ad2a5bb78b4c476ddd6984.
This change made debugging Node tests very hard - `AssertionError` is
now printed as `[Circular *1]` giving no visibility what failed.
We need to align two implementations together and remove this one then.
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 44b20299e..81794c856 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 ]"); + assertEquals(util.format("%o", [10, 11]), "[ 10, 11, [length]: 2 ]"); }, }); |