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.
This commit is contained in:
Hiroshi SHIBATA 2024-01-26 13:40:05 +09:00
Родитель f9bf7d531b
Коммит 395a240b7c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F9CF13417264FAC2
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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