summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-01-25 08:26:53 +0100
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-02-06 07:30:28 +0100
commite3055dc5254502d2f02276f20c9a3f37b41e7f12 (patch)
tree64ba7551fd2ad97b817992127068eaa35b1fc8c8 /test
parent8d2df41618266f6bcd5579d6de63a777149f4166 (diff)
downloadandroid-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.js2
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) {