diff options
author | Ellen Marie Dash <me@duckie.co> | 2023-09-28 23:15:35 -0400 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-11-08 09:04:28 +0900 |
commit | 55840d0a331d0920cfecae44de7147ada7dff254 (patch) | |
tree | 1fc7e6281fed4fc4b7cca5b88727af07bb44f859 /test | |
parent | d12e881009ba94e2aca6428756fc79cc33ba278b (diff) |
[rubygems/rubygems] Allow test_gem_install_update_options to raise Errno::ACCES, in addition to Gem::FilePermissionError.
https://github.com/rubygems/rubygems/commit/784fe2a814
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_gem_install_update_options.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_install_update_options.rb b/test/rubygems/test_gem_install_update_options.rb index 1b84f0bf76..6ed40d226a 100644 --- a/test/rubygems/test_gem_install_update_options.rb +++ b/test/rubygems/test_gem_install_update_options.rb @@ -151,7 +151,7 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase Gem.use_paths @gemhome, @userhome - assert_raise(Gem::FilePermissionError) do + assert_raise(Gem::FilePermissionError, Errno::EACCES) do Gem::Installer.at(@gem, @cmd.options).install end end |