Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! util: improve test readability
  • Loading branch information
yvele committed Nov 25, 2025
commit 70d029dffb7963442b44c7ed6524efa469696281
6 changes: 3 additions & 3 deletions test/parallel/test-util-inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -3347,9 +3347,9 @@ assert.strictEqual(
' [length]: 0,\n' +
" [name]: 'Bar',\n" +
' [prototype]: [Circular *1],\n' +
// Heh? I don't know how to override the error stakc to make it predictable
' [Symbol(Symbol.species)]: ' +
"[Getter: <Inspection threw (TypeError: Symbol.prototype.toString requires that 'this' be a Symbol\n" +
' [Symbol(Symbol.species)]: [Getter: <Inspection threw ' +
// Heh? I don't know how to override the error stack to make it predictable
"(TypeError: Symbol.prototype.toString requires that 'this' be a Symbol\n" +
' at Bar.toString (<anonymous>)\n' +
' at formatPrimitive (node:internal/util/inspect:2246:13)\n' +
' at formatProperty (node:internal/util/inspect:2556:29)\n' +
Expand Down