1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Avoid "ambiguous first argument" warning

https://github.com/rubygems/rubygems/commit/984bb9b815
This commit is contained in:
bronzdoc 2020-03-30 18:41:23 -06:00 committed by Hiroshi SHIBATA
parent 80163db936
commit 361ed8d0a6
Notes: git 2020-05-08 07:39:27 +09:00

View file

@ -76,7 +76,7 @@ class TestGemGemRunner < Gem::TestCase
assert_nil @runner.run(args)
end
assert_match /WARNING: query command is deprecated. It will be removed in Rubygems [0-9]+/, @ui.error
assert_match(/WARNING: query command is deprecated. It will be removed in Rubygems [0-9]+/, @ui.error)
end
def test_info_succeeds