diff options
author | David Rodriguez <[email protected]> | 2024-05-16 16:32:56 +0200 |
---|---|---|
committer | git <[email protected]> | 2024-05-31 15:09:37 +0000 |
commit | 8e2a6435e4f80f3c84cb7d8ac6d7a059d5969e1b (patch) | |
tree | f54186b1dbb44d707f55c7cc7a7cb98b1837ef33 /test | |
parent | 78ccf770aa5dcba42087b9a53f8eb46c3731d0ab (diff) |
[rubygems/rubygems] Fix `gem uninstall` warning when two versions of psych installed
https://github.com/rubygems/rubygems/commit/1b5644b666
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem_commands_uninstall_command.rb | 2 | ||||
-rw-r--r-- | test/rubygems/test_gem_uninstaller.rb | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb index 4daa61cb0c..66885395d8 100644 --- a/test/rubygems/test_gem_commands_uninstall_command.rb +++ b/test/rubygems/test_gem_commands_uninstall_command.rb @@ -32,7 +32,7 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase @cmd.execute end - assert_equal %w[a_evil-9 b-2 c-1.2 default-1 dep_x-1 pl-1-x86-linux x-1], + assert_equal %w[a-4 a_evil-9 b-2 c-1.2 default-1 dep_x-1 pl-1-x86-linux x-1], Gem::Specification.all_names.sort end diff --git a/test/rubygems/test_gem_uninstaller.rb b/test/rubygems/test_gem_uninstaller.rb index aa5ab0ed67..794aaf1aec 100644 --- a/test/rubygems/test_gem_uninstaller.rb +++ b/test/rubygems/test_gem_uninstaller.rb @@ -19,8 +19,6 @@ class TestGemUninstaller < Gem::InstallerTestCase @user_spec = @user_installer.spec end end - - Gem::Specification.reset end def test_initialize_expand_path |