From 947b01874875d751d86a31e84d387bd14d5b856e Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Tue, 17 Oct 2023 13:21:39 +0100 Subject: [PATCH] Further tests --- object_store/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/object_store/src/lib.rs b/object_store/src/lib.rs index 431602c292a4..7edeafb38cdf 100644 --- a/object_store/src/lib.rs +++ b/object_store/src/lib.rs @@ -1430,6 +1430,9 @@ mod tests { let new_tag = result.e_tag.unwrap(); assert_ne!(tag, new_tag); + let meta = storage.head(&path).await.unwrap(); + assert_eq!(meta.e_tag.unwrap(), new_tag); + let options = GetOptions { if_match: Some(new_tag), ..GetOptions::default()