Skip to content

Commit

Permalink
Allow test_gem_install_update_options to raise Errno::ACCES, in addit…
Browse files Browse the repository at this point in the history
…ion to Gem::FilePermissionError.
  • Loading branch information
duckinator committed Oct 6, 2023
1 parent a06e657 commit 784fe2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rubygems/test_gem_install_update_options.rb
Original file line number Diff line number Diff line change
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 784fe2a

Please sign in to comment.