Skip to content

Commit 89f0e53

Browse files
committed
fixup! util: improve test readability
1 parent 94a702e commit 89f0e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-util-inspect.js

Lines changed: 2 additions & 2 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+
' [Symbol(Symbol.species)]: [Getter: <Inspection threw ' +
33513352
// 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" +
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)