diff --git a/test/test_validate.jl b/test/test_validate.jl index 7027b79..a2d0ff3 100644 --- a/test/test_validate.jl +++ b/test/test_validate.jl @@ -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) @@ -190,4 +190,4 @@ end # TODO: EOCD checking # TODO: duplicate file name checking # TODO: out of order CD -end \ No newline at end of file +end