[rubygems/rubygems] Allow test_gem_install_update_options to raise Errno::ACCES, in addition to Gem::FilePermissionError.

https://github.com/rubygems/rubygems/commit/784fe2a814
This commit is contained in:
Ellen Marie Dash 2023-09-28 23:15:35 -04:00 committed by git
parent 225c05e3ec
commit 0b9b07a717

View File

@ -151,7 +151,7 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase
Gem.use_paths @gemhome, @userhome Gem.use_paths @gemhome, @userhome
assert_raise(Gem::FilePermissionError) do assert_raise(Gem::FilePermissionError, Errno::EACCES) do
Gem::Installer.at(@gem, @cmd.options).install Gem::Installer.at(@gem, @cmd.options).install
end end
end end