From 1bb400dcb258f135a3f92f6242e728f0475325c1 Mon Sep 17 00:00:00 2001 From: igorechek06 Date: Sat, 10 Aug 2024 17:58:14 +0900 Subject: Unify zip errors --- tests/zip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/zip.rs') 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() { #[test] fn test_bad_zip() { assert!(Archive::::read_from_file("tests/files/blank") - .is_err_and(|e| e == ZipError::EocdrNotFound)); + .is_err_and(|e| e == ZipError::StructNotFound("Eocdr"))); } -- cgit v1.2.3