Skip to content

Commit

Permalink
test: increase coverage internal readline
Browse files Browse the repository at this point in the history
PR-URL: #24150
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
cyanic-webdesign authored and codebytere committed Dec 14, 2018
1 parent 08c9e2b commit e9ca5bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-readline-keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,12 @@ addTest('\n\r\t', [
]);

// space and backspace
addTest('\b\x7f\x1b\b\x1b\x7f \x1b ', [
addTest('\b\x7f\x1b\b\x1b\x7f\x1b\x1b \x1b ', [
{ name: 'backspace', sequence: '\b' },
{ name: 'backspace', sequence: '\x7f' },
{ name: 'backspace', sequence: '\x1b\b', meta: true },
{ name: 'backspace', sequence: '\x1b\x7f', meta: true },
{ name: 'space', sequence: '\x1b\x1b ', meta: true },
{ name: 'space', sequence: ' ' },
{ name: 'space', sequence: '\x1b ', meta: true },
]);
Expand Down

0 comments on commit e9ca5bf

Please sign in to comment.