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

ruby-changes:27331

From: naruse <ko1@a...>
Date: Fri, 22 Feb 2013 17:37:32 +0900 (JST)
Subject: [ruby-changes:27331] naruse:r39383 (trunk): * test/test_rbconfig.rb (TestRbConfig): fix r39372.

naruse	2013-02-22 17:37:16 +0900 (Fri, 22 Feb 2013)

  New Revision: 39383

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

  Log:
    * test/test_rbconfig.rb (TestRbConfig): fix r39372.
      It must see RbConfig::CONFIG instead of CONFIG.

  Modified files:
    trunk/ChangeLog
    trunk/test/test_rbconfig.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39382)
+++ ChangeLog	(revision 39383)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Feb 22 17:36:23 2013  NARUSE, Yui  <naruse@r...>
+
+	* test/test_rbconfig.rb (TestRbConfig): fix r39372.
+	  It must see RbConfig::CONFIG instead of CONFIG.
+
 Fri Feb 22 14:55:41 2013  Naohisa Goto  <ngotogenome@g...>
 
 	* signal.c (ruby_abort): fix typo in r39354 [Bug #5014]
Index: test/test_rbconfig.rb
===================================================================
--- test/test_rbconfig.rb	(revision 39382)
+++ test/test_rbconfig.rb	(revision 39383)
@@ -5,7 +5,7 @@ require 'shellwords' https://github.com/ruby/ruby/blob/trunk/test/test_rbconfig.rb#L5
 class TestRbConfig < Test::Unit::TestCase
   @@with_config = {}
 
-  Shellwords::shellwords(CONFIG["configure_args"]).grep(/\A--with-([^=]*)=(.*)/) do
+  Shellwords::shellwords(RbConfig::CONFIG["configure_args"]).grep(/\A--with-([^=]*)=(.*)/) do
     @@with_config[$1.tr('_', '-')] = $2
   end
 

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

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