From 95b5272d80407fdcd74dd2e463de962a9534ed28 Mon Sep 17 00:00:00 2001 From: Nitzan Uziely Date: Mon, 31 Jan 2022 13:03:36 +0200 Subject: [PATCH] fixup! fixup! repl: fix disruptive autocomplete without inspector --- test/parallel/test-repl-history-navigation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-repl-history-navigation.js b/test/parallel/test-repl-history-navigation.js index 64236ec734923d..4df120d7cb9eae 100644 --- a/test/parallel/test-repl-history-navigation.js +++ b/test/parallel/test-repl-history-navigation.js @@ -585,7 +585,7 @@ const tests = [ prompt, ...'const util = {}', 'undefined\n', prompt, ...'ut', ...(prev ? [' // il', '\n// {}', - 'il', '\n// {}'] : [' // il', 'il']), + 'il', '\n// {}'] : ['il']), '{}\n', prompt, ], @@ -605,7 +605,7 @@ const tests = [ 'undefined\n', prompt, ...'globalThis.util = {}', '{}\n', - prompt, ...'ut', ' // il', 'il', + prompt, ...'ut', ...(prev ? [' // il', 'il' ] : ['il']), '{}\n', prompt, ...'Reflect.defineProperty(globalThis, "util", utilDesc)', 'true\n',