[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 Hiroshi SHIBATA
parent d12e881009
commit 55840d0a33
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -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