Skip to content

Commit

Permalink
fix(test)
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed May 31, 2023
1 parent 97a944b commit f12ed3f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/tests/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fn test_builder_with_header() {
request.headers().get("accesskeyid"),
Some(&HeaderValue::from_str("foo1").unwrap())
);
assert_eq!(request.headers().get("secretaccesskey"), None);
assert!(request.headers().get("secretaccesskey").is_none());
assert_eq!(
request.headers().get("verb"),
Some(&HeaderValue::from_str("POST").unwrap())
Expand Down Expand Up @@ -147,10 +147,7 @@ fn test_blocking_builder_with_header() {
request.headers().get("accesskeyid"),
Some(&HeaderValue::from_str("foo1").unwrap())
);
assert_eq!(
request.headers().get("secretaccesskey"),
Some(&HeaderValue::from_str("foo2").unwrap())
);
assert!(request.headers().get("secretaccesskey").is_none());
assert_eq!(
request.headers().get("verb"),
Some(&HeaderValue::from_str("POST").unwrap())
Expand Down

0 comments on commit f12ed3f

Please sign in to comment.