From 2e69137dbe9fd7c03dac9b8adc30a7eba3ecb10b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 22 Jan 2024 17:55:03 +0900 Subject: [PATCH] Use version dependant library for completion test --- test/irb/test_completion.rb | 4 ++-- 1 file 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