Skip to content

Commit e69ebdf

Browse files
committed
fixup! fixup! repl: fix disruptive autocomplete without inspector
1 parent fa45fb5 commit e69ebdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-repl-history-navigation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ const tests = [
563563
prompt, ...'const util = {}',
564564
'undefined\n',
565565
prompt, ...'ut', ...(prev ? [' // il', '\n// {}',
566-
'il', '\n// {}'] : [' // il', 'il']),
566+
'il', '\n// {}'] : ['il']),
567567
'{}\n',
568568
prompt,
569569
],
@@ -583,7 +583,7 @@ const tests = [
583583
'undefined\n',
584584
prompt, ...'globalThis.util = {}',
585585
'{}\n',
586-
prompt, ...'ut', ' // il', 'il',
586+
prompt, ...'ut', ...(prev ? [' // il', 'il' ] : ['il']),
587587
'{}\n',
588588
prompt, ...'Reflect.defineProperty(globalThis, "util", utilDesc)',
589589
'true\n',

0 commit comments

Comments
 (0)