refactor: Use assert_eq rather than assert matches

pull/24376/head
Carol (Nichols || Goulding) 2021-04-19 13:32:11 -04:00
parent 49b8d7690c
commit e74f73f198
1 changed files with 1 additions and 1 deletions

View File

@ -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(())
}