[前][次][番号順一覧][スレッド一覧]

ruby-changes:61067

From: bronzdoc <ko1@a...>
Date: Fri, 8 May 2020 07:39:37 +0900 (JST)
Subject: [ruby-changes:61067] 361ed8d0a6 (master): [rubygems/rubygems] Avoid "ambiguous first argument" warning

https://git.ruby-lang.org/ruby.git/commit/?id=361ed8d0a6

From 361ed8d0a65df513f527c62539abb71b4c34a006 Mon Sep 17 00:00:00 2001
From: bronzdoc <lsagastume1990@g...>
Date: Mon, 30 Mar 2020 18:41:23 -0600
Subject: [rubygems/rubygems] Avoid "ambiguous first argument" warning

https://github.com/rubygems/rubygems/commit/984bb9b815

diff --git a/test/rubygems/test_gem_gem_runner.rb b/test/rubygems/test_gem_gem_runner.rb
index c4917b0..81e191e 100644
--- a/test/rubygems/test_gem_gem_runner.rb
+++ b/test/rubygems/test_gem_gem_runner.rb
@@ -76,7 +76,7 @@ class TestGemGemRunner < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_gem_runner.rb#L76
       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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]