[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:
parent
225c05e3ec
commit
0b9b07a717
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user