Skip to content

Commit 9b05e4e

Browse files
committed
fixup! util: improve test readability
1 parent 94a702e commit 9b05e4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-util-inspect.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3348,9 +3348,9 @@ assert.strictEqual(
33483348
' [length]: 0,\n' +
33493349
" [name]: 'Bar',\n" +
33503350
' [prototype]: [Circular *1],\n' +
3351-
// Heh? I don't know how to override the error stakc to make it predictable
3352-
' [Symbol(Symbol.species)]: ' +
3353-
"[Getter: <Inspection threw (TypeError: Symbol.prototype.toString requires that 'this' be a Symbol\n" +
3351+
' [Symbol(Symbol.species)]: [Getter: <Inspection threw ' +
3352+
// Heh? I don't know how to override the error stack to make it predictable
3353+
"(TypeError: Symbol.prototype.toString requires that 'this' be a Symbol\n" +
33543354
' at Bar.toString (<anonymous>)\n' +
33553355
' at formatPrimitive (node:internal/util/inspect:2246:13)\n' +
33563356
' at formatProperty (node:internal/util/inspect:2556:29)\n' +

0 commit comments

Comments
 (0)