From 381f5801f924f204e9b7a693d8f6e78e63a654b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 30 Mar 2023 17:33:28 +0200 Subject: 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. --- cli/tests/unit_node/util_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/unit_node') 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 ]"); }, }); -- cgit v1.2.3