Skip to content

Commit

Permalink
fix(clippy): Minor code smells - part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxuser committed Oct 4, 2024
1 parent 3453b08 commit 04af41e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/request_signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ mod test {
.unwrap()
.unwrap(),
policy_1
);
)
}

#[test]
Expand Down Expand Up @@ -834,7 +834,7 @@ mod test {
assert_eq!(
&message_data,
&hex!("f7d61b6f8d4dcd86da1aa8553f0ee7c15450811e7cd2759364e22f67d853ff50")
);
)
}

#[tokio::test]
Expand Down Expand Up @@ -862,7 +862,7 @@ mod test {
let signature = request.headers().get("Signature");

assert!(signature.is_some());
assert!(signer.verify(request).await.is_ok());
assert!(signer.verify(request).await.is_ok())
}

#[test]
Expand All @@ -887,7 +887,7 @@ mod test {

assert!(signer
.verify_message(signature, &request, MAX_BODY_BYTES)
.is_ok());
.is_ok())
}

#[tokio::test]
Expand All @@ -900,7 +900,7 @@ mod test {
.expect("Failed to sign HTTP GET request")
.build();

assert!(request.is_ok());
assert!(request.is_ok())
}

#[tokio::test]
Expand All @@ -914,6 +914,6 @@ mod test {
.expect("Failed to sign HTTP POST request")
.build();

assert!(request.is_ok());
assert!(request.is_ok())
}
}

0 comments on commit 04af41e

Please sign in to comment.