Skip to content

util: fix parseArgs skipping first positional arg with --eval= and --… #78350

util: fix parseArgs skipping first positional arg with --eval= and --…

util: fix parseArgs skipping first positional arg with --eval= and --… #78350

Triggered via pull request November 25, 2025 04:11
Status Failure
Total duration 28m 52s
Artifacts

test-linux.yml

on: pull_request
Matrix: test-linux
Fit to window
Zoom out
Zoom in

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-parse-args.mjs#L243
--- stdout --- Option '-w' argument is ambiguous. Did you forget to specify the option argument for '-w'? To specify an option argument starting with a dash use '--with=-XYZ' or '-w-XYZ'. Test failure: 'without CLI flags' Location: test/parallel/test-parse-args.mjs:242:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 2 !== 0 at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-parse-args.mjs:243:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Suite.processPendingSubtests (node:internal/test_runner/test:777:18) at Suite.postRun (node:internal/test_runner/test:1224:19) at Suite.run (node:internal/test_runner/test:1522:10) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 2, expected: 0, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-parse-args.mjs
test-linux (ubuntu-24.04)
Process completed with exit code 2.
test-linux (ubuntu-24.04): test/parallel/test-parse-args.mjs#L243
--- stdout --- Option '-w' argument is ambiguous. Did you forget to specify the option argument for '-w'? To specify an option argument starting with a dash use '--with=-XYZ' or '-w-XYZ'. Test failure: 'without CLI flags' Location: test/parallel/test-parse-args.mjs:242:3 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 2 !== 0 at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/parallel/test-parse-args.mjs:243:12) at Test.runInAsyncScope (node:async_hooks:213:14) at Test.run (node:internal/test_runner/test:1095:25) at Suite.processPendingSubtests (node:internal/test_runner/test:777:18) at Suite.postRun (node:internal/test_runner/test:1224:19) at Suite.run (node:internal/test_runner/test:1522:10) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at async Promise.all (index 0) at async Suite.run (node:internal/test_runner/test:1507:7) at async Test.processPendingSubtests (node:internal/test_runner/test:777:7) { generatedMessage: true, code: 'ERR_ASSERTION', actual: 2, expected: 0, operator: 'strictEqual', diff: 'simple' } Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/parallel/test-parse-args.mjs
sccache stats
0% - 0 hits, 0 misses, 0 errors
sccache stats
0% - 0 hits, 0 misses, 0 errors