summaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_platform.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-30 12:25:23 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-30 12:25:23 +0000
commit4653ee670f3d47b49c407116187dfd0dba775c1c (patch)
treefdca7086d1fbaa6020750c6f8e19b7ed73026e6b /test/rubygems/test_gem_platform.rb
parent65cd92ed9ba8fa17eb0eff774d5c5826af905731 (diff)
downloadruby-4653ee670f3d47b49c407116187dfd0dba775c1c.tar.gz
ruby-4653ee670f3d47b49c407116187dfd0dba775c1c.tar.xz
ruby-4653ee670f3d47b49c407116187dfd0dba775c1c.zip
* runruby.rb: use RbConfig::CONFIG instead of Config::CONFIG.
* spec/default.mspec: ditto. * yarvtest/yarvtest.rb: ditto. * instruby.rb: ditto. * benchmark/report.rb: ditto. * benchmark/runc.rb: ditto. * tool/eval.rb: ditto. * test/rubygems/test_gem.rb: ditto. * test/rubygems/test_config.rb: ditto. * test/rubygems/test_gem_platform.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_platform.rb')
-rw-r--r--test/rubygems/test_gem_platform.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_platform.rb b/test/rubygems/test_gem_platform.rb
index fdb8fb11e..e71fcd5c5 100644
--- a/test/rubygems/test_gem_platform.rb
+++ b/test/rubygems/test_gem_platform.rb
@@ -100,8 +100,8 @@ class TestGemPlatform < RubyGemTestCase
end
def test_initialize_mswin32_vc6
- orig_RUBY_SO_NAME = Config::CONFIG['RUBY_SO_NAME']
- Config::CONFIG['RUBY_SO_NAME'] = 'msvcrt-ruby18'
+ orig_RUBY_SO_NAME = RbConfig::CONFIG['RUBY_SO_NAME']
+ RbConfig::CONFIG['RUBY_SO_NAME'] = 'msvcrt-ruby18'
expected = ['x86', 'mswin32', nil]
@@ -109,7 +109,7 @@ class TestGemPlatform < RubyGemTestCase
assert_equal expected, platform.to_a, 'i386-mswin32 VC6'
ensure
- Config::CONFIG['RUBY_SO_NAME'] = orig_RUBY_SO_NAME
+ RbConfig::CONFIG['RUBY_SO_NAME'] = orig_RUBY_SO_NAME
end
def test_initialize_platform