aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-07-19 18:45:59 +0200
committergit <svn-admin@ruby-lang.org>2022-07-20 03:03:33 +0900
commitc0aa8ee947c06f063d98761c53ea539eb726edb4 (patch)
tree016cc6696da97e2ce2cd3b6327b066077cac65b5 /test
parent9ce27dd2cd8d7dc9ed7fd21fcb59f001cab255b5 (diff)
downloadruby-c0aa8ee947c06f063d98761c53ea539eb726edb4.tar.gz
[rubygems/rubygems] Fix casing typo when resetting `RbConfig::CONFIG["ENABLE_SHARED"]`
https://github.com/rubygems/rubygems/commit/3d1ae0050b
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index 7bd7dd0c3b..56d2093078 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -171,9 +171,9 @@ class Gem::TestCase < Test::Unit::TestCase
yield
ensure
if enable_shared
- RbConfig::CONFIG['enable_shared'] = enable_shared
+ RbConfig::CONFIG['ENABLE_SHARED'] = enable_shared
else
- RbConfig::CONFIG.delete 'enable_shared'
+ RbConfig::CONFIG.delete 'ENABLE_SHARED'
end
end