Skip to content

Commit

Permalink
chore: complete test
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank-III committed Dec 9, 2024
1 parent 7f8a00d commit a39a7f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/tests/behavior/async_write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,12 @@ pub async fn test_write_with_content_encoding(op: Operator) -> Result<()> {
.content_encoding(target_content_encoding)
.await?;

// TODO: check the content encoding in the stat op response?

let meta = op.stat(&path).await.expect("stat must succeed");
assert_eq!(
meta.content_encoding()
.expect("content encoding must exist"),
target_content_encoding
);
Ok(())
}

Expand Down

0 comments on commit a39a7f2

Please sign in to comment.