repl: catch \v
and \r
in new-line detection
#56412
Annotations
2 errors and 1 notice
test/parallel/test-repl-preview-newlines.js#L26
--- stderr ---
node:assert:90
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '"\\u000b"()\n\x1B[90mTypeError: "\x1B[39m\x1B[13G\x1B[1A'
- '"\\u000b"()\n\x1B[90mTypeError: "\x1B[39m\x1B[9G\x1B[1A'
at Object.<anonymous> (/Users/runner/work/node/node/test/parallel/test-repl-preview-newlines.js:26:10)
at Module._compile (node:internal/modules/cjs/loader:1557:14)
at Object..js (node:internal/modules/cjs/loader:1702:10)
at Module.load (node:internal/modules/cjs/loader:1328:32)
at Function._load (node:internal/modules/cjs/loader:1138:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:165:5)
at node:internal/main/run_main_module:30:49 {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '"\\u000b"()\n\x1B[90mTypeError: "\x1B[39m\x1B[13G\x1B[1A',
expected: '"\\u000b"()\n\x1B[90mTypeError: "\x1B[39m\x1B[9G\x1B[1A',
operator: 'strictEqual'
}
Node.js v23.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-repl-preview-newlines.js
|
|
|
This job failed
Loading