diff --git a/zenoh/tests/matching.rs b/zenoh/tests/matching.rs index 8718797a36..c44a84f19d 100644 --- a/zenoh/tests/matching.rs +++ b/zenoh/tests/matching.rs @@ -45,7 +45,7 @@ fn zenoh_matching_status_any() { .unwrap(); let matching_listener = ztimeout!(publisher1.matching_listener().res_async()).unwrap(); - + let received_status = matching_listener.recv_timeout(RECV_TIMEOUT); assert!(received_status.err() == Some(RecvTimeoutError::Timeout)); @@ -111,7 +111,7 @@ fn zenoh_matching_status_remote() { .unwrap(); let matching_listener = ztimeout!(publisher1.matching_listener().res_async()).unwrap(); - + let received_status = matching_listener.recv_timeout(RECV_TIMEOUT); assert!(received_status.err() == Some(RecvTimeoutError::Timeout)); @@ -177,7 +177,7 @@ fn zenoh_matching_status_local() { .unwrap(); let matching_listener = ztimeout!(publisher1.matching_listener().res_async()).unwrap(); - + let received_status = matching_listener.recv_timeout(RECV_TIMEOUT); assert!(received_status.err() == Some(RecvTimeoutError::Timeout)); @@ -222,4 +222,4 @@ fn zenoh_matching_status_local() { let matching_status = ztimeout!(publisher1.matching_status().res_async()).unwrap(); assert!(!matching_status.is_matching()); }); -} \ No newline at end of file +}