Skip to content

Commit

Permalink
Test for Errno::ENOENT
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall authored and hainesr committed Jun 16, 2022
1 parent 8b87b0e commit 451a04f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/filesystem/file_nonmutating_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def test_symlink?
zip_file = ::Zip::File.new('test/data/path_traversal/tuzovakaoff/symlink.zip')
assert(zip_file.file.symlink?('path'))
assert(!zip_file.file.symlink?('path/file.txt'))
assert_e_n_o_e_n_t(:symlink?)
end

def test_socket?
Expand Down

0 comments on commit 451a04f

Please sign in to comment.