diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-18 10:26:01 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-22 11:17:26 +0000 |
commit | aa5d1957121bf6321f560754f316c553f60dcaae (patch) | |
tree | 1f094fa4c63f12212a8e0883d175b667996ef1ed /test/rubygems | |
parent | 169786950038e9092ad6971c9a08e77fd439b014 (diff) | |
download | ruby-aa5d1957121bf6321f560754f316c553f60dcaae.tar.gz |
[rubygems/rubygems] @orig_RUBY_ENGINE is always provided now
https://github.com/rubygems/rubygems/commit/c5e8ad4823
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem_request.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_request.rb b/test/rubygems/test_gem_request.rb index 404552a88b..0e67f33e0e 100644 --- a/test/rubygems/test_gem_request.rb +++ b/test/rubygems/test_gem_request.rb @@ -478,8 +478,7 @@ ERROR: Certificate is an invalid CA certificate def util_restore_version Object.send :remove_const, :RUBY_ENGINE - Object.send :const_set, :RUBY_ENGINE, @orig_RUBY_ENGINE if - defined?(@orig_RUBY_ENGINE) + Object.send :const_set, :RUBY_ENGINE, @orig_RUBY_ENGINE Object.send :remove_const, :RUBY_PATCHLEVEL Object.send :const_set, :RUBY_PATCHLEVEL, @orig_RUBY_PATCHLEVEL |