From c220b0dc91463ab58edbdcd24c2800826dc7d651 Mon Sep 17 00:00:00 2001 From: Will Medrano Date: Sun, 8 Sep 2024 21:09:41 -0700 Subject: [PATCH] Fix lint. --- src/port/audio.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/port/audio.rs b/src/port/audio.rs index dd492c48..ab444814 100644 --- a/src/port/audio.rs +++ b/src/port/audio.rs @@ -140,11 +140,8 @@ mod test { ac.as_client() .connect_ports_by_name("port_audio_crw:ob", "port_audio_crw:ib") .unwrap(); - assert_eq!( - success_receiver - .recv_timeout(std::time::Duration::from_secs(2)) - .unwrap(), - true - ); + assert!(success_receiver + .recv_timeout(std::time::Duration::from_secs(2)) + .unwrap(),); } }