Skip to content

Commit

Permalink
Further tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Oct 17, 2023
1 parent 3d8c30b commit 947b018
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions object_store/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 947b018

Please sign in to comment.