src: use supported API to get stalled TLA messages #1254
Annotations
2 errors
Test:
test/parallel/test-util-inspect.js#L3184
--- stderr ---
node:assert:126
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'Fhqwhgads {\n' +
' constructor: <ref *1> [Function: Fhqwhgads] {\n' +
' [length]: 0,\n' +
" [name]: 'Fhqwhgads',\n" +
+ ' [prototype]: { constructor: [Circular *1] }\n' +
- ' [prototype]: { [constructor]: [Circular *1] }\n' +
' }\n' +
'}'
at Object.<anonymous> (/home/runner/work/node-v8/node-v8/test/parallel/test-util-inspect.js:3184:10)
at Module._compile (node:internal/modules/cjs/loader:1368:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
at Module.load (node:internal/modules/cjs/loader:1205:32)
at Module._load (node:internal/modules/cjs/loader:1021:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:177:12)
at node:internal/main/run_main_module:28:49 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'Fhqwhgads {\n' +
' constructor: <ref *1> [Function: Fhqwhgads] {\n' +
' [length]: 0,\n' +
" [name]: 'Fhqwhgads',\n" +
' [prototype]: { constructor: [Circular *1] }\n' +
' }\n' +
'}',
expected: 'Fhqwhgads {\n' +
' constructor: <ref *1> [Function: Fhqwhgads] {\n' +
' [length]: 0,\n' +
" [name]: 'Fhqwhgads',\n" +
' [prototype]: { [constructor]: [Circular *1] }\n' +
' }\n' +
'}',
operator: 'strictEqual'
}
Node.js v22.0.0-pre
--- stdout ---
Test 0
Test 1
Test 2
Test 3
Command: out/Release/node --expose-internals --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /home/runner/work/node-v8/node-v8/test/parallel/test-util-inspect.js
|
Test
Process completed with exit code 2.
|
Loading