From f77bb3cb0043f1f7908fa668b40052c331e5af50 Mon Sep 17 00:00:00 2001 From: Berry de Witte Date: Tue, 6 Nov 2018 15:14:12 +0000 Subject: [PATCH] test: increase coverage internal readline PR-URL: https://github.com/nodejs/node/pull/24150 Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell --- test/parallel/test-readline-keys.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-readline-keys.js b/test/parallel/test-readline-keys.js index c5b3cbf44cd496..b1c88e2acee157 100644 --- a/test/parallel/test-readline-keys.js +++ b/test/parallel/test-readline-keys.js @@ -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 }, ]);