lib, path: support file:/// urls in path functions #49797
Annotations
4 errors
test-macOS:
test/parallel/test-path-dirname.js#L65
--- stderr ---
node:assert:126
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'file://'
- 'c:\\'
at Object.<anonymous> (/Users/runner/work/node/node/test/parallel/test-path-dirname.js:65:8)
at Module._compile (node:internal/modules/cjs/loader:1476:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1555:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:187:14)
at node:internal/main/run_main_module:28:49 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'file://',
expected: 'c:\\',
operator: 'strictEqual'
}
Node.js v22.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-path-dirname.js
|
test-macOS:
test/parallel/test-path-extname.js#L64
--- stderr ---
/Users/runner/work/node/node/test/parallel/test-path-extname.js:64
input = input.replace(slashRE, '\\');
^
TypeError: input.replace is not a function
at Object.<anonymous> (/Users/runner/work/node/node/test/parallel/test-path-extname.js:64:21)
at Module._compile (node:internal/modules/cjs/loader:1476:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1555:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:187:14)
at node:internal/main/run_main_module:28:49
Node.js v22.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-path-extname.js
|
test-macOS:
test/parallel/test-path-makelong.js#L62
--- stderr ---
node:assert:576
throw new ERR_MISSING_ARGS('actual', 'expected');
^
TypeError [ERR_MISSING_ARGS]: The "actual" and "expected" arguments must be specified
at Function.strictEqual (node:assert:576:11)
at Object.<anonymous> (/Users/runner/work/node/node/test/parallel/test-path-makelong.js:62:8)
at Module._compile (node:internal/modules/cjs/loader:1476:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1555:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:187:14)
at node:internal/main/run_main_module:28:49 {
code: 'ERR_MISSING_ARGS'
}
Node.js v22.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /Users/runner/work/node/node/test/parallel/test-path-makelong.js
|
test-macOS
Process completed with exit code 2.
|