diff --git a/influxdb2_client/tests/health.rs b/influxdb2_client/tests/health.rs index e43f97bcc6..293550e7ee 100644 --- a/influxdb2_client/tests/health.rs +++ b/influxdb2_client/tests/health.rs @@ -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(()) }