summaryrefslogtreecommitdiff
path: root/test/irb/test_input_method.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/irb/test_input_method.rb')
-rw-r--r--test/irb/test_input_method.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_input_method.rb b/test/irb/test_input_method.rb
index e6a1b06e82..6974fe2df8 100644
--- a/test/irb/test_input_method.rb
+++ b/test/irb/test_input_method.rb
@@ -90,7 +90,7 @@ module TestIRB
def display_document(target, bind)
input_method = IRB::RelineInputMethod.new(IRB::RegexpCompletor.new)
- input_method.instance_variable_set(:@completion_params, [target, '', '', bind])
+ input_method.instance_variable_set(:@completion_params, ['', target, '', bind])
input_method.display_document(target, driver: @driver)
end