Skip to content

Commit

Permalink
fixup! fixup! repl: fix disruptive autocomplete without inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
Linkgoron committed Jan 31, 2022
1 parent fa45fb5 commit 0f5f20b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/parallel/test-repl-history-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ const tests = [
prompt, ...'const util = {}',
'undefined\n',
prompt, ...'ut', ...(prev ? [' // il', '\n// {}',
'il', '\n// {}'] : [' // il', 'il']),
'il', '\n// {}'] : ['il']),
'{}\n',
prompt,
],
Expand All @@ -583,7 +583,8 @@ const tests = [
'undefined\n',
prompt, ...'globalThis.util = {}',
'{}\n',
prompt, ...'ut', ' // il', 'il',
prompt, ...'ut', ...(prev ? [' // il', '\n// {}',
'il', '\n// {}'] : ['il']),
'{}\n',
prompt, ...'Reflect.defineProperty(globalThis, "util", utilDesc)',
'true\n',
Expand Down

0 comments on commit 0f5f20b

Please sign in to comment.