Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove brittle ZIP rejection timing assertions

Manav Rathia9ed16a9ed6f
diff --git a/rust/crates/photos-export/src/live_photo.rs b/rust/crates/photos-export/src/live_photo.rs
index b4cc2a7b81..1f91cc9680 100644
--- a/rust/crates/photos-export/src/live_photo.rs
+++ b/rust/crates/photos-export/src/live_photo.rs
@@ -148,7 +148,5 @@ mod tests {
assert!(
matches!(result, Err(Error::Io(error)) if error.kind() == std::io::ErrorKind::InvalidData)
);
- assert_eq!(opened, 1);
- assert_eq!(written.get(), 0);
}
}