Replace use of assert_eq with assert

Reported by clippy.
This commit is contained in:
Jonas Platte
2021-08-25 11:27:53 +02:00
committed by Sean McArthur
parent 1be9c34f01
commit 4be5ec7ffd
3 changed files with 16 additions and 16 deletions

View File

@@ -286,7 +286,7 @@ async fn test_allowed_methods() {
.send()
.await;
assert_eq!(resp.is_err(), false);
assert!(resp.is_ok());
let resp = reqwest::Client::builder()
.https_only(true)
@@ -296,5 +296,5 @@ async fn test_allowed_methods() {
.send()
.await;
assert_eq!(resp.is_err(), true);
assert!(resp.is_err());
}