Skip to content

Commit

Permalink
Fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
oteffahi committed Jul 24, 2024
1 parent 036ac96 commit bf7fb08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zenoh/tests/acl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ mod test {

publisher.delete().await.unwrap();
tokio::time::sleep(SLEEP).await;
assert_ne!(*zlock!(deleted), true);
assert!(!(*zlock!(deleted)));
ztimeout!(subscriber.undeclare()).unwrap();
}
close_sessions(sub_session, pub_session).await;
Expand Down Expand Up @@ -194,7 +194,7 @@ mod test {

publisher.delete().await.unwrap();
tokio::time::sleep(SLEEP).await;
assert_eq!(*zlock!(deleted), true);
assert!(*zlock!(deleted));
ztimeout!(subscriber.undeclare()).unwrap();
}

Expand Down Expand Up @@ -276,7 +276,7 @@ mod test {

publisher.delete().await.unwrap();
tokio::time::sleep(SLEEP).await;
assert_ne!(*zlock!(deleted), true);
assert!(!(*zlock!(deleted)));
ztimeout!(subscriber.undeclare()).unwrap();
}
close_sessions(sub_session, pub_session).await;
Expand Down Expand Up @@ -357,7 +357,7 @@ mod test {

publisher.delete().await.unwrap();
tokio::time::sleep(SLEEP).await;
assert_eq!(*zlock!(deleted), true);
assert!(*zlock!(deleted));
ztimeout!(subscriber.undeclare()).unwrap();
}
close_sessions(sub_session, pub_session).await;
Expand Down

0 comments on commit bf7fb08

Please sign in to comment.