url: optimize path resolution with single-pass algorithm #79799
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-url-relative.js#L63
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: resolve(http://example.com/b//c//d;p?q#blarg, http:#hash2) == http://example.com/b//c//d;p?q#hash2
actual=http://example.com/b/c/d;p?q#hash2
+ actual - expected
+ 'http://example.com/b/c/d;p?q#hash2'
- 'http://example.com/b//c//d;p?q#hash2'
^
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-url-relative.js:63: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: 'http://example.com/b/c/d;p?q#hash2',
expected: 'http://example.com/b//c//d;p?q#hash2',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-url-relative.js
|
|
test-linux (ubuntu-24.04)
Process completed with exit code 2.
|
|
test-linux (ubuntu-24.04):
test/parallel/test-url-relative.js#L63
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: resolve(http://example.com/b//c//d;p?q#blarg, http:#hash2) == http://example.com/b//c//d;p?q#hash2
actual=http://example.com/b/c/d;p?q#hash2
+ actual - expected
+ 'http://example.com/b/c/d;p?q#hash2'
- 'http://example.com/b//c//d;p?q#hash2'
^
at Object.<anonymous> (/home/runner/work/node/node/node/test/parallel/test-url-relative.js:63: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: 'http://example.com/b/c/d;p?q#hash2',
expected: 'http://example.com/b//c//d;p?q#hash2',
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /home/runner/work/node/node/node/test/parallel/test-url-relative.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|