diff --git a/crates/muninn-daemon/src/main.rs b/crates/muninn-daemon/src/main.rs index f25b756..78accbb 100644 --- a/crates/muninn-daemon/src/main.rs +++ b/crates/muninn-daemon/src/main.rs @@ -9196,10 +9196,9 @@ Device 00:07:04:A8:00:D0 (public) assert!(matches .iter() .all(|endpoint_match| endpoint_match.address == "10.77.0.3:17888")); - assert_eq!( - matches[0].stream_id.as_deref(), - Some("muninn:nightwing:hid-controller-state") - ); + assert!(matches.iter().any(|endpoint_match| { + endpoint_match.stream_id.as_deref() == Some("muninn:nightwing:hid-controller-state") + })); let _ = fs::remove_file(store_path); } }