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

ruby-changes:27713

From: nobu <ko1@a...>
Date: Fri, 15 Mar 2013 20:36:39 +0900 (JST)
Subject: [ruby-changes:27713] nobu:r39765 (trunk): * test/rubygems/test_gem_package.rb (test_verify_nonexistent): fix

nobu	2013-03-15 20:36:25 +0900 (Fri, 15 Mar 2013)

  New Revision: 39765

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

  Log:
    * test/rubygems/test_gem_package.rb (test_verify_nonexistent): fix
      syntax error.

  Modified files:
    trunk/test/rubygems/test_gem_package.rb

Index: test/rubygems/test_gem_package.rb
===================================================================
--- test/rubygems/test_gem_package.rb	(revision 39764)
+++ test/rubygems/test_gem_package.rb	(revision 39765)
@@ -509,7 +509,7 @@ class TestGemPackage < Gem::Package::Tar https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_package.rb#L509
       package.verify
     end
 
-    assert_match / -\snonexistent\.gem\z/, e.message
+    assert_match /\s-\snonexistent\.gem\z/, e.message
   end
 
   def test_verify_security_policy

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

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