From 395a240b7c1daa058f590893ca8d8f6d28866abf Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 26 Jan 2024 13:40:05 +0900 Subject: [PATCH] Try to use irb instead of rubygems for completion test I'm not sure why OpenBSD suggest `rubygems_plugin` file for this. https://rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20240126T013005Z.fail.html.gz It seems environmental issue, not irb. --- 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 4500fedb0b..8194463931 100644 --- a/test/irb/test_completion.rb +++ b/test/irb/test_completion.rb @@ -125,8 +125,8 @@ module TestIRB def test_complete_require_library_name_first # Test that library name is completed first with subdirectories - candidates = IRB::RegexpCompletor.new.completion_candidates("require ", "'rubygems", "", bind: binding) - assert_equal "'rubygems", candidates.first + candidates = IRB::RegexpCompletor.new.completion_candidates("require ", "'irb", "", bind: binding) + assert_equal "'irb", candidates.first end def test_complete_require_relative