diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-01-25 08:26:53 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-02-06 07:30:28 +0100 |
commit | e3055dc5254502d2f02276f20c9a3f37b41e7f12 (patch) | |
tree | 64ba7551fd2ad97b817992127068eaa35b1fc8c8 /test | |
parent | 8d2df41618266f6bcd5579d6de63a777149f4166 (diff) | |
download | android-node-v8-e3055dc5254502d2f02276f20c9a3f37b41e7f12.tar.gz android-node-v8-e3055dc5254502d2f02276f20c9a3f37b41e7f12.tar.bz2 android-node-v8-e3055dc5254502d2f02276f20c9a3f37b41e7f12.zip |
repl: simplify and improve completion
The completion lists used a hand crafted list of global entries that
was redundant due to also using the actual global properties for tab
completion. Those entries ended up in an separated completion group
which did not seem useful.
PR-URL: https://github.com/nodejs/node/pull/25731
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-repl-tab-complete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-repl-tab-complete.js b/test/parallel/test-repl-tab-complete.js index 4c68ec2c8f..5438c960b8 100644 --- a/test/parallel/test-repl-tab-complete.js +++ b/test/parallel/test-repl-tab-complete.js @@ -457,7 +457,7 @@ const testNonGlobal = repl.start({ useGlobal: false }); -const builtins = [['Infinity', '', 'Int16Array', 'Int32Array', +const builtins = [['Infinity', 'Int16Array', 'Int32Array', 'Int8Array'], 'I']; if (common.hasIntl) { |