mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-05 14:10:34 -04:00
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:
parent
4fd9ccdd2e
commit
8028c34f79
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue