Skip to content

Commit

Permalink
0.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
durch committed Mar 4, 2022
1 parent 8053540 commit e93d0d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion s3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-s3"
version = "0.29.0"
version = "0.30.0"
authors = ["Drazen Urch"]
description = "Rust library for working with Amazon S3 and compatible object storage APIs"
repository = "https://github.com/durch/rust-s3"
Expand Down
8 changes: 3 additions & 5 deletions s3/src/bucket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2309,10 +2309,8 @@ mod test {
.presign_put(s3_path, 86400, Some(custom_headers))
.unwrap();

// assert_eq!(url, "");

assert!(url.contains("host%3Bcustom_header"));
assert!(url.contains("/test%2Ftest.file"))
assert!(url.contains("/test/test.file"))
}

#[test]
Expand All @@ -2322,7 +2320,7 @@ mod test {
let bucket = test_aws_bucket();

let url = bucket.presign_get(s3_path, 86400).unwrap();
assert!(url.contains("/test%2Ftest.file?"))
assert!(url.contains("/test/test.file?"))
}

#[test]
Expand All @@ -2332,7 +2330,7 @@ mod test {
let bucket = test_aws_bucket();

let url = bucket.presign_delete(s3_path, 86400).unwrap();
assert!(url.contains("/test%2Ftest.file?"))
assert!(url.contains("/test/test.file?"))
}

#[maybe_async::test(
Expand Down

0 comments on commit e93d0d3

Please sign in to comment.