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

ruby-changes:32255

From: drbrain <ko1@a...>
Date: Sun, 22 Dec 2013 11:12:44 +0900 (JST)
Subject: [ruby-changes:32255] drbrain:r44334 (trunk): * test/rubygems/test_gem_ext_builder.rb: Fix warning due to ambiguous

drbrain	2013-12-22 11:12:38 +0900 (Sun, 22 Dec 2013)

  New Revision: 44334

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44334

  Log:
    * test/rubygems/test_gem_ext_builder.rb:  Fix warning due to ambiguous
      expression.

  Modified files:
    trunk/ChangeLog
    trunk/test/rubygems/test_gem_ext_builder.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44333)
+++ ChangeLog	(revision 44334)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Dec 22 11:08:47 2013  Eric Hodel  <drbrain@s...>
+
+	* test/rubygems/test_gem_ext_builder.rb:  Fix warning due to ambiguous
+	  expression.
+
 Sun Dec 22 11:05:53 2013  Eric Hodel  <drbrain@s...>
 
 	* lib/rubygems/commands/install_command.rb:  Restore gem install
Index: test/rubygems/test_gem_ext_builder.rb
===================================================================
--- test/rubygems/test_gem_ext_builder.rb	(revision 44333)
+++ test/rubygems/test_gem_ext_builder.rb	(revision 44334)
@@ -228,7 +228,7 @@ install: https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_ext_builder.rb#L228
 
     assert_match %r%#{Regexp.escape Gem.ruby} extconf\.rb%,
                  File.read(gem_make_out)
-    assert_match /: No such file/,
+    assert_match %r%: No such file%,
                  File.read(gem_make_out)
 
     refute_path_exists @spec.gem_build_complete_path

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

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