summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_rbconfig.rb2
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