aboutsummaryrefslogtreecommitdiff
path: root/src/api/signature/streaming.rs
diff options
context:
space:
mode:
authorKokaKiwi <kokakiwi+git@kokakiwi.net>2022-02-18 18:14:23 +0100
committerGitea <gitea@fake.local>2022-03-23 10:22:36 +0100
commite934934f149da1f4288359dcc3b6d9b9b284525e (patch)
treebfa7434fddd1e7c366ecde7a6b2c65fc210d0932 /src/api/signature/streaming.rs
parent98545a16dd9e469271fe480cc6f8d9991cd25444 (diff)
downloadgarage-e934934f149da1f4288359dcc3b6d9b9b284525e.tar.gz
garage-e934934f149da1f4288359dcc3b6d9b9b284525e.zip
garage_api: Update streaming payload stream unit tests
Diffstat (limited to 'src/api/signature/streaming.rs')
-rw-r--r--src/api/signature/streaming.rs2
1 files changed, 1 insertions, 1 deletions
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 {