summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_install_update_options.rb
diff options
context:
space:
mode:
authorEllen Marie Dash <me@duckie.co>2023-09-28 23:15:35 -0400
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-08 09:04:28 +0900
commit55840d0a331d0920cfecae44de7147ada7dff254 (patch)
tree1fc7e6281fed4fc4b7cca5b88727af07bb44f859 /test/rubygems/test_gem_install_update_options.rb
parentd12e881009ba94e2aca6428756fc79cc33ba278b (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/rubygems/test_gem_install_update_options.rb')
-rw-r--r--test/rubygems/test_gem_install_update_options.rb2
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