Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/test_validate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ end
zipsource(bad_uncompressed_file) do source
# file is bad
f = next_file(source)
@test_throws ZlibError validate(f)
@test_throws Exception validate(f)
end
zipsource(bad_uncompressed_file) do source
# note: this error breaks reading because the zlib codec does not read complete information
for file in source
@test_throws ZlibError read(file)
@test_throws Exception read(file)
end
# archive is bad
@test_throws ErrorException validate(source)
Expand Down Expand Up @@ -190,4 +190,4 @@ end
# TODO: EOCD checking
# TODO: duplicate file name checking
# TODO: out of order CD
end
end
Loading