diff options
author | Alex <alex@adnab.me> | 2023-06-27 17:20:58 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2023-06-27 17:20:58 +0000 |
commit | e716320b0a5d255027cbfb6e726eec18b82fb86f (patch) | |
tree | 70f799635a601a66f2ccfa1762ed741a2e20070d /src/garage/tests/bucket.rs | |
parent | e466edbaec0cb9710e937a7ac01f00f943b2c7d2 (diff) | |
parent | 76355453dd17bc4d7c7bd1b12bf502a8b334c888 (diff) | |
download | garage-e716320b0a5d255027cbfb6e726eec18b82fb86f.tar.gz garage-e716320b0a5d255027cbfb6e726eec18b82fb86f.zip |
Merge pull request 'cargo: roxmltree-0.18 and aws-sdk-s3-0.28 bump' (#591) from jpds/garage:roxmltree-0.18 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/591
Diffstat (limited to 'src/garage/tests/bucket.rs')
-rw-r--r-- | src/garage/tests/bucket.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/garage/tests/bucket.rs b/src/garage/tests/bucket.rs index 0dec3cfa..2dda7e6f 100644 --- a/src/garage/tests/bucket.rs +++ b/src/garage/tests/bucket.rs @@ -1,7 +1,6 @@ use crate::common; use crate::common::ext::CommandExt; -use aws_sdk_s3::model::BucketLocationConstraint; -use aws_sdk_s3::output::DeleteBucketOutput; +use aws_sdk_s3::operation::delete_bucket::DeleteBucketOutput; #[tokio::test] async fn test_bucket_all() { @@ -63,10 +62,7 @@ async fn test_bucket_all() { .await .unwrap(); - match r.location_constraint.unwrap() { - BucketLocationConstraint::Unknown(v) if v.as_str() == "garage-integ-test" => (), - _ => unreachable!("wrong region"), - } + assert_eq!(r.location_constraint.unwrap().as_str(), "garage-integ-test"); } { // (Stub) check GetVersioning |