ruby-changes:67661
From: aycabta <ko1@a...>
Date: Wed, 8 Sep 2021 05:24:16 +0900 (JST)
Subject: [ruby-changes:67661] 580f340c33 (master): [ruby/irb] Use "csv" for test
https://git.ruby-lang.org/ruby.git/commit/?id=580f340c33 From 580f340c3393a811b8018e19360937a758212d4e Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Wed, 8 Sep 2021 05:20:48 +0900 Subject: [ruby/irb] Use "csv" for test The "csv" doesn't conflict with other stdlib names in any Ruby processing system. https://github.com/ruby/irb/commit/49203a1c83 --- 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 c3462f4..1ae1b7a 100644 --- a/test/irb/test_completion.rb +++ b/test/irb/test_completion.rb @@ -69,8 +69,8 @@ module TestIRB https://github.com/ruby/ruby/blob/trunk/test/irb/test_completion.rb#L69 end def test_complete_require_library_name_first - candidates = IRB::InputCompletor::CompletionProc.("'cgi", "require ", "") - assert_equal candidates.first, "'cgi" + candidates = IRB::InputCompletor::CompletionProc.("'csv", "require ", "") + assert_equal candidates.first, "'csv" end def test_complete_require_relative -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/