1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Fix casing typo when resetting RbConfig::CONFIG["ENABLE_SHARED"]

https://github.com/rubygems/rubygems/commit/3d1ae0050b
This commit is contained in:
David Rodríguez 2022-07-19 18:45:59 +02:00 committed by git
parent 9ce27dd2cd
commit c0aa8ee947

View file

@ -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