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

ruby-changes:23501

From: nobu <ko1@a...>
Date: Mon, 7 May 2012 10:16:42 +0900 (JST)
Subject: [ruby-changes:23501] nobu:r35552 (trunk): test_gem_installer.rb: fix argument order

nobu	2012-05-07 10:16:32 +0900 (Mon, 07 May 2012)

  New Revision: 35552

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

  Log:
    test_gem_installer.rb: fix argument order
    
    * test/rubygems/test_gem_installer.rb (TestGemInstaller#test_dir): fix
      argument order.  expected value must come first.

  Modified files:
    trunk/ChangeLog
    trunk/test/rubygems/test_gem_installer.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35551)
+++ ChangeLog	(revision 35552)
@@ -1,3 +1,8 @@
+Mon May  7 10:16:30 2012  Nobuyoshi Nakada  <nobu@r...>
+
+	* test/rubygems/test_gem_installer.rb (TestGemInstaller#test_dir): fix
+	  argument order.  expected value must come first.
+
 Mon May 07 09:14:11 2012  Martin Bosslet  <Martin.Bosslet@g...>
 
 	* ext/openssl/ossl_ssl.c: support TLSv1.1 & TLSv1.2. Add 
Index: test/rubygems/test_gem_installer.rb
===================================================================
--- test/rubygems/test_gem_installer.rb	(revision 35551)
+++ test/rubygems/test_gem_installer.rb	(revision 35552)
@@ -1217,7 +1217,7 @@
   def test_dir
     util_setup_install
 
-    assert_match @installer.dir, %r!/installer/gems/a-2$!
+    assert_match %r!/installer/gems/a-2\z!, @installer.dir
   end
 
   def old_ruby_required

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

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