Fix test that broke by adding serde_json.

Since serde_json::Value also implements PartialEq for f64 we needed
to fix the test to either specify the type or just check for empty.
This commit is contained in:
Jeremy Whiting 2025-05-23 14:51:56 -06:00 committed by Jeremy Whiting
parent 4fd9ccdd2e
commit 8028c34f79

View file

@ -656,7 +656,7 @@ mod test {
fake_model(SteamDeckVariant::Unknown)
.await
.expect("fake_model");
assert_eq!(proxy.als_calibration_gain().await.unwrap(), &[]);
assert!(proxy.als_calibration_gain().await.unwrap().is_empty());
fake_model(SteamDeckVariant::Jupiter)
.await