Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 704b68a

Browse filesBrowse files
cyanic-webdesignMylesBorins
authored andcommitted
test: increase coverage internal readline
PR-URL: #24150 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 10a2727 commit 704b68a
Copy full SHA for 704b68a

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-readline-keys.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-readline-keys.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,12 @@ addTest('\n\r\t', [
9999
]);
100100

101101
// space and backspace
102-
addTest('\b\x7f\x1b\b\x1b\x7f \x1b ', [
102+
addTest('\b\x7f\x1b\b\x1b\x7f\x1b\x1b \x1b ', [
103103
{ name: 'backspace', sequence: '\b' },
104104
{ name: 'backspace', sequence: '\x7f' },
105105
{ name: 'backspace', sequence: '\x1b\b', meta: true },
106106
{ name: 'backspace', sequence: '\x1b\x7f', meta: true },
107+
{ name: 'space', sequence: '\x1b\x1b ', meta: true },
107108
{ name: 'space', sequence: ' ' },
108109
{ name: 'space', sequence: '\x1b ', meta: true },
109110
]);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.