src: add validation for CLI options that don't take an argument #75253
Annotations
6 errors and 2 notices
|
test-linux (ubuntu-24.04-arm)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04-arm):
test/sequential/test-watch-mode.mjs#L172
--- stdout ---
Test failure: 'should watch changes to a file'
Location: test/sequential/test-watch-mode.mjs:165:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ []
- [
- 'running',
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4723/0.js'. Waiting for file changes before restarting...",
- "Restarting '/home/runner/work/node/node/node/test/.tmp.4723/0.js'",
- 'running',
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4723/0.js'. Waiting for file changes before restarting..."
- ]
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/sequential/test-watch-mode.mjs:172:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1113:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1516:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [],
expected: [Array],
operator: 'deepStrictEqual',
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/sequential/test-watch-mode.mjs
|
|
test-linux (ubuntu-24.04-arm):
test/sequential/test-debugger-debug-brk.js#L16
--- stderr ---
node:internal/assert/utils:273
throw err;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(stderr.includes('DEP0062'))
at test (/home/runner/work/node/node/node/test/sequential/test-debugger-debug-brk.js:16:3)
at Object.<anonymous> (/home/runner/work/node/node/node/test/sequential/test-debugger-debug-brk.js:21:1)
at Module._compile (node:internal/modules/cjs/loader:1737:14)
at Object..js (node:internal/modules/cjs/loader:1870:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Module._load (node:internal/modules/cjs/loader:1289:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:238:24)
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 v25.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/sequential/test-debugger-debug-brk.js
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
test/sequential/test-watch-mode.mjs#L172
--- stdout ---
Test failure: 'should watch changes to a file'
Location: test/sequential/test-watch-mode.mjs:165:3
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ []
- [
- 'running',
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4736/0.js'. Waiting for file changes before restarting...",
- "Restarting '/home/runner/work/node/node/node/test/.tmp.4736/0.js'",
- 'running',
- "Completed running '/home/runner/work/node/node/node/test/.tmp.4736/0.js'. Waiting for file changes before restarting..."
- ]
at TestContext.<anonymous> (file:///home/runner/work/node/node/node/test/sequential/test-watch-mode.mjs:172:12)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Test.run (node:internal/test_runner/test:1113:7)
at async Promise.all (index 0)
at async Suite.run (node:internal/test_runner/test:1516:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:358:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: [],
expected: [Array],
operator: 'deepStrictEqual',
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/sequential/test-watch-mode.mjs
|
|
test-linux (ubuntu-24.04):
test/sequential/test-debugger-debug-brk.js#L16
--- stderr ---
node:internal/assert/utils:273
throw err;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(stderr.includes('DEP0062'))
at test (/home/runner/work/node/node/node/test/sequential/test-debugger-debug-brk.js:16:3)
at Object.<anonymous> (/home/runner/work/node/node/node/test/sequential/test-debugger-debug-brk.js:21:1)
at Module._compile (node:internal/modules/cjs/loader:1737:14)
at Object..js (node:internal/modules/cjs/loader:1870:10)
at Module.load (node:internal/modules/cjs/loader:1469:32)
at Module._load (node:internal/modules/cjs/loader:1289:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:238:24)
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 v25.0.0-pre
Command: out/Release/node --test-reporter=./test/common/test-error-reporter.js --test-reporter-destination=stdout /home/runner/work/node/node/node/test/sequential/test-debugger-debug-brk.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|