summaryrefslogtreecommitdiff
path: root/test/irb/test_completion.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-22 17:55:03 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-22 18:23:05 +0900
commit2e69137dbe9fd7c03dac9b8adc30a7eba3ecb10b (patch)
tree53eec68f97e873848db9544bb0519e82950e3b3f /test/irb/test_completion.rb
parent92141d6269f845a3125f6c833398722904603cd4 (diff)
Use version dependant library for completion test
Diffstat (limited to 'test/irb/test_completion.rb')
-rw-r--r--test/irb/test_completion.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/irb/test_completion.rb b/test/irb/test_completion.rb
index 348cd4b6dc..2f97d99faa 100644
--- a/test/irb/test_completion.rb
+++ b/test/irb/test_completion.rb
@@ -124,8 +124,8 @@ module TestIRB
end
def test_complete_require_library_name_first
- candidates = IRB::RegexpCompletor.new.completion_candidates("require ", "'csv", "", bind: binding)
- assert_equal "'csv", candidates.first
+ candidates = IRB::RegexpCompletor.new.completion_candidates("require ", "'coverage", "", bind: binding)
+ assert_equal "'coverage", candidates.first
end
def test_complete_require_relative