fix(inspect): allow single-line format when breakLength is Infinity #87777
Annotations
4 errors and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
test/parallel/test-util-inspect.js#L4071
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert.ok(multiLine.startsWith('{\n'))
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-util-inspect.js:4071:12)
at Module._compile (node:internal/modules/cjs/loader:1937:14)
at Object..js (node:internal/modules/cjs/loader:2077:10)
at Module.load (node:internal/modules/cjs/loader:1659:32)
at Module._load (node:internal/modules/cjs/loader:1451:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Node.js v27.0.0-pre
--- stdout ---
Test 0
Test 1
Test 2
Test 3
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-util-inspect.js
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
test/parallel/test-util-inspect.js#L4071
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert.ok(multiLine.startsWith('{\n'))
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-util-inspect.js:4071:12)
at Module._compile (node:internal/modules/cjs/loader:1937:14)
at Object..js (node:internal/modules/cjs/loader:2077:10)
at Module.load (node:internal/modules/cjs/loader:1659:32)
at Module._load (node:internal/modules/cjs/loader:1451:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
at node:internal/main/run_main_module:33:47 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==',
diff: 'simple'
}
Node.js v27.0.0-pre
--- stdout ---
Test 0
Test 1
Test 2
Test 3
Command: out/Release/node --expose-internals /home/runner/work/node/node/node/test/parallel/test-util-inspect.js
|
|
sccache stats - test-linux
80% - 4044 hits, 987 misses, 0 errors
|
|
sccache stats - test-linux
79% - 3975 hits, 1067 misses, 0 errors
|