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 <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
cyanic-webdesign authored and BridgeAR committed Nov 13, 2018
1 parent 636e4e0 commit ddbd0e1
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 ddbd0e1

Please sign in to comment.