Skip to content

Commit

Permalink
[rubygems/rubygems] Allow test_gem_install_update_options to raise Er…
Browse files Browse the repository at this point in the history
…rno::ACCES, in addition to Gem::FilePermissionError.

rubygems/rubygems@784fe2a814
  • Loading branch information
duckinator authored and hsbt committed Nov 8, 2023
1 parent d12e881 commit 55840d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_install_update_options.rb
Expand Up @@ -151,7 +151,7 @@ def test_user_install_disabled_read_only

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
Expand Down

0 comments on commit 55840d0

Please sign in to comment.