mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c84a9acb28
commit
7dd6e08b93
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue