diff options
| author | igorechek06 <me@igorek.dev> | 2024-08-10 17:58:14 +0900 |
|---|---|---|
| committer | igorechek06 <me@igorek.dev> | 2024-08-10 17:58:14 +0900 |
| commit | 1bb400dcb258f135a3f92f6242e728f0475325c1 (patch) | |
| tree | c71783ceaff073077b7f65705101932ca8f0bbf6 /tests | |
| parent | 866516ac50851e2827e6aff0a98c444268c566ff (diff) | |
| download | archivator-1bb400dcb258f135a3f92f6242e728f0475325c1.tar.gz archivator-1bb400dcb258f135a3f92f6242e728f0475325c1.zip | |
Unify zip errors
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/zip.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zip.rs b/tests/zip.rs index e44098c..e2b5c20 100644 --- a/tests/zip.rs +++ b/tests/zip.rs | |||
| @@ -164,5 +164,5 @@ fn test_zip() { | |||
| 164 | #[test] | 164 | #[test] |
| 165 | fn test_bad_zip() { | 165 | fn test_bad_zip() { |
| 166 | assert!(Archive::<Zip>::read_from_file("tests/files/blank") | 166 | assert!(Archive::<Zip>::read_from_file("tests/files/blank") |
| 167 | .is_err_and(|e| e == ZipError::EocdrNotFound)); | 167 | .is_err_and(|e| e == ZipError::StructNotFound("Eocdr"))); |
| 168 | } | 168 | } |
