Skip to content

Commit 644b25e

Browse files
committed
test: adapt test-util-inspect to V8 9.3
Classes' "name" property is now installed between "length" and "prototype". Refs: v8/v8@224b659 PR-URL: #39469 Backport-PR-URL: #39947 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 105bff9 commit 644b25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-util-inspect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2855,8 +2855,8 @@ assert.strictEqual(
28552855
'<ref *1> Foo [Map] {\n' +
28562856
' [constructor]: [class Bar extends Foo] {\n' +
28572857
' [length]: 0,\n' +
2858-
' [prototype]: [Circular *1],\n' +
28592858
" [name]: 'Bar',\n" +
2859+
' [prototype]: [Circular *1],\n' +
28602860
' [Symbol(Symbol.species)]: [Getter: <Inspection threw ' +
28612861
"(Symbol.prototype.toString requires that 'this' be a Symbol)>]\n" +
28622862
' },\n' +

0 commit comments

Comments
 (0)