url: optimize path resolution with single-pass algorithm #61395
+187
−73
Closed
Annotations
2 errors and 1 notice
|
Test
Process completed with exit code 2.
|
|
Test:
test/parallel/test-url-relative.js#L384
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: resolve(foo:., foo:a) == foo:
actual=foo:/
'foo:/' !== 'foo:'
at Object.<anonymous> (/Users/runner/work/node/node/node/test/parallel/test-url-relative.js:384:10)
at Module._compile (node:internal/modules/cjs/loader:1803:14)
at Object..js (node:internal/modules/cjs/loader:1934:10)
at Module.load (node:internal/modules/cjs/loader:1524:32)
at Module._load (node:internal/modules/cjs/loader:1326: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)
at node:internal/main/run_main_module:33:47 {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 'foo:/',
expected: 'foo:',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/parallel/test-url-relative.js
|
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading