refactor: Use assert_eq rather than assert matches
parent
49b8d7690c
commit
e74f73f198
|
|
@ -11,7 +11,7 @@ async fn get_health() -> Result {
|
|||
|
||||
let res = client.health().await?;
|
||||
|
||||
assert!(matches!(res.status, influxdb2_client::models::Status::Pass));
|
||||
assert_eq!(res.status, influxdb2_client::models::Status::Pass);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue