From f2e72bb05e33e09903812bf0f3e74356355c5f05 Mon Sep 17 00:00:00 2001 From: KokaKiwi Date: Fri, 18 Feb 2022 18:14:23 +0100 Subject: [PATCH] garage_api: Update streaming payload stream unit tests --- src/api/signature/streaming.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/signature/streaming.rs b/src/api/signature/streaming.rs index b04e5c72..969a45d6 100644 --- a/src/api/signature/streaming.rs +++ b/src/api/signature/streaming.rs @@ -305,7 +305,7 @@ mod tests { let seed_signature = Hash::default(); let mut stream = - SignedPayloadStream::new(body, signing_hmac, datetime, &scope, seed_signature).unwrap(); + SignedPayloadStream::new(body, signing_hmac, datetime, &scope, seed_signature); assert!(stream.try_next().await.is_err()); match stream.try_next().await {