src: remove unnecessary c_str() conversions in diagnostic messages
#3376
test-shared.yml
on: push
Build slim tarball
2m 28s
Matrix: build
Annotations
2 errors
|
aarch64-darwin: with shared libraries
Process completed with exit code 2.
|
|
aarch64-darwin: with shared libraries:
test/test-runner/test-output-test-runner-watch-spec.mjs#L0
--- stderr ---
node:internal/modules/run_main:107
triggerUncaughtException(
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
'✖ failing test (*ms)\n' +
+ '\n' +
+ 'Restarted at 2/14/2026, 11:14:29 AM\n' +
'✔ test has ran (*ms)\n' +
'ℹ tests 2\n' +
'ℹ suites 0\n' +
'ℹ pass 1\n' +
'ℹ fail 1\n' +
at assertSnapshot (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-14ad945c599c-slim/test/common/assertSnapshot.js:173:12)
at async spawnAndAssert (/Users/runner/work/_temp/node-v26.0.0-nightly2026-02-14ad945c599c-slim/test/common/assertSnapshot.js:208:3)
at async file:///Users/runner/work/_temp/node-v26.0.0-nightly2026-02-14ad945c599c-slim/test/test-runner/test-output-test-runner-watch-spec.mjs:8:1 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '✖ failing test (*ms)\n' +
'\n' +
'Restarted at 2/14/2026, 11:14:29 AM\n' +
'✔ test has ran (*ms)\n' +
'ℹ tests 2\n' +
'ℹ suites 0\n' +
'ℹ pass 1\n' +
'ℹ fail 1\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 0\n' +
'ℹ duration_ms *\n' +
'\n' +
'✖ failing tests:\n' +
'\n' +
'test at test/<tmpdir>/failing-test.js:3:3\n' +
'✖ failing test (*ms)\n' +
' Error: failed\n' +
' at TestContext.<anonymous> (<project-root>/test/<tmpdir>/failing-test.js:4:11)\n' +
' at <node-internal-frames>\n' +
'ℹ tests 0\n' +
'ℹ suites 0\n' +
'ℹ pass 0\n' +
'ℹ fail 0\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 0\n' +
'ℹ duration_ms *\n',
expected: '✖ failing test (*ms)\n' +
'✔ test has ran (*ms)\n' +
'ℹ tests 2\n' +
'ℹ suites 0\n' +
'ℹ pass 1\n' +
'ℹ fail 1\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 0\n' +
'ℹ duration_ms *\n' +
'\n' +
'✖ failing tests:\n' +
'\n' +
'test at test/<tmpdir>/failing-test.js:3:3\n' +
'✖ failing test (*ms)\n' +
' Error: failed\n' +
' at TestContext.<anonymous> (<project-root>/test/<tmpdir>/failing-test.js:4:11)\n' +
' at <node-internal-frames>\n' +
'ℹ tests 0\n' +
'ℹ suites 0\n' +
'ℹ pass 0\n' +
'ℹ fail 0\n' +
'ℹ cancelled 0\n' +
'ℹ skipped 0\n' +
'ℹ todo 0\n' +
'ℹ duration_ms *\n',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-02-14ad945c599c-slim/test/test-runner/test-output-test-runner-watch-spec.mjs
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
tarballs
|
47.8 MB |
sha256:9b0154a12cb0337d3a90f900a8233928c74bbe4da26711f9cc9785434d4bfbe0
|
|