diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-22 08:37:16 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-22 08:37:16 +0000 |
commit | 7dd6e08b93a750d962fee51eeaec726caf8dc82e (patch) | |
tree | ac11b89f128768aa4f694ecd0d8af7ab802a236e /test | |
parent | c84a9acb28f6e566d4047d6601db711d0689e26c (diff) | |
download | ruby-7dd6e08b93a750d962fee51eeaec726caf8dc82e.tar.gz |
* test/test_rbconfig.rb (TestRbConfig): fix r39372.
It must see RbConfig::CONFIG instead of CONFIG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/test_rbconfig.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |