Revert "refactor(ext/node): Use Deno.inspect (#17960)" (#18491)

This reverts commit a3529d0232.

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.
This commit is contained in:
Bartek Iwańczuk 2023-03-30 17:33:28 +02:00 committed by GitHub
parent e0429e2ad6
commit 381f5801f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 2321 additions and 146 deletions

View file

@ -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 ]");
},
});