diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-18 10:59:25 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-19 06:56:22 +0000 |
commit | 8b95b33a9d114d2f9f3852c289722c8393d10fd8 (patch) | |
tree | 6ef2d963b5c87d2a2eb97b050a7faa81a345cfb7 /test/rubygems/test_gem_config_file.rb | |
parent | 92ab4e41dd6261d6f2fe04011508359544535164 (diff) |
[rubygems/rubygems] Bundler::YAMLSerializer.load couldn't raise error when invalid yaml was provided
https://github.com/rubygems/rubygems/commit/cfcfde04c7
Diffstat (limited to 'test/rubygems/test_gem_config_file.rb')
-rw-r--r-- | test/rubygems/test_gem_config_file.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/rubygems/test_gem_config_file.rb b/test/rubygems/test_gem_config_file.rb index d6957efb72..0c6763c6a3 100644 --- a/test/rubygems/test_gem_config_file.rb +++ b/test/rubygems/test_gem_config_file.rb @@ -465,21 +465,6 @@ if you believe they were disclosed to a third party. assert_equal %w[http://even-more-gems.example.com], Gem.sources end - def test_ignore_invalid_config_file - File.open @temp_conf, "w" do |fp| - fp.puts "invalid: yaml:" - end - - begin - verbose = $VERBOSE - $VERBOSE = nil - - util_config_file - ensure - $VERBOSE = verbose - end - end - def test_load_ssl_verify_mode_from_config File.open @temp_conf, "w" do |fp| fp.puts ":ssl_verify_mode: 1" |