Skip to content

buffer: add early return for zero-length concat calls #69054

buffer: add early return for zero-length concat calls

buffer: add early return for zero-length concat calls #69054

Triggered via pull request October 24, 2025 21:07
Status Failure
Total duration 44m 52s
Artifacts

test-macos.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 notice
test-macOS
Process completed with exit code 2.
test-macOS: test/parallel/test-buffer-concat.js#L57
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Missing expected exception. at /Users/runner/work/node/node/node/test/parallel/test-buffer-concat.js:58:10 at Array.forEach (<anonymous>) at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-buffer-concat.js:57:41) at Module._compile (node:internal/modules/cjs/loader:1760:14) at Object..js (node:internal/modules/cjs/loader:1892:10) at Module.load (node:internal/modules/cjs/loader:1480:32) at Module._load (node:internal/modules/cjs/loader:1299:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { code: 'ERR_INVALID_ARG_TYPE', message: 'The "list[0]" argument must be an instance of Buffer or Uint8Array. Received type number (42)' }, operator: 'throws', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /Users/runner/work/node/node/node/test/parallel/test-buffer-concat.js
sccache stats
0% - 0 hits, 0 misses, 0 errors