Replace use of assert_eq with assert
Reported by clippy.
This commit is contained in:
committed by
Sean McArthur
parent
1be9c34f01
commit
4be5ec7ffd
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user