Skip to content

Commit 704b68a

Browse files
cyanic-webdesignMylesBorins
authored andcommitted
test: increase coverage internal readline
PR-URL: #24150 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 10a2727 commit 704b68a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-readline-keys.js

+2-1
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)