style(clippy): assert_eq -> assert for bool
This commit is contained in:
parent
132463a433
commit
8dfc811bf7
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ fn check_parser() {
|
|||
assert_eq!(status.second_digit(), 0u8);
|
||||
}
|
||||
|
||||
assert_eq!(resp.is_ok(), true);
|
||||
assert!(resp.is_ok());
|
||||
|
||||
assert_eq!(resp.message(), "text/gemini");
|
||||
|
||||
|
@ -54,7 +54,7 @@ fn check_real_site() {
|
|||
.block_on(client.request("gemini://geminiprotocol.net/docs"))
|
||||
.unwrap();
|
||||
|
||||
assert_eq!(resp.is_ok(), true); // check if redirection is processed correctly
|
||||
assert!(resp.is_ok()); // check if redirection is processed correctly
|
||||
|
||||
{
|
||||
let mime = resp.mime().unwrap();
|
||||
|
|
Loading…
Add table
Reference in a new issue