diff options
author | Ellen Marie Dash <me@duckie.co> | 2023-09-28 23:15:35 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-10-11 19:07:27 +0000 |
commit | 0b9b07a717a31b7f3c87a9097c9fe1833efe9b1d (patch) | |
tree | 62578bc3c69fcd95a8936d19ec2776819364f341 /test/rubygems | |
parent | 225c05e3ec42a43ec21092017291ba24a51ccb15 (diff) | |
download | ruby-0b9b07a717a31b7f3c87a9097c9fe1833efe9b1d.tar.gz |
[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')
-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 30ad370510..8c58520577 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 |