Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
shunsukew committed May 26, 2024
1 parent 2aabf02 commit 8bde28d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ mod tests {
// Checking if error is returned for now.
let res = client.batch_request::<String>(batch).await;

assert_eq!(res.is_err(), true);
assert!(res.is_err());

upstream_dummy_server_handle.stop().unwrap();
}
Expand All @@ -453,9 +453,8 @@ mod tests {
//
// Checking if error is returned for now.
let res = client.batch_request::<String>(batch).await;
println!("{:?}", res);

assert_eq!(res.is_err(), true);
assert!(res.is_err());

upstream_dummy_server_handle.stop().unwrap();
}
Expand Down

0 comments on commit 8bde28d

Please sign in to comment.