diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/test_rbconfig.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Feb 22 17:36:23 2013 NARUSE, Yui <naruse@ruby-lang.org> + + * 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@gmail.com> * signal.c (ruby_abort): fix typo in r39354 [Bug #5014] diff --git a/test/test_rbconfig.rb b/test/test_rbconfig.rb index aa44c4edbf..36204500bd 100644 --- a/test/test_rbconfig.rb +++ b/test/test_rbconfig.rb @@ -5,7 +5,7 @@ require 'shellwords' 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 |