Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
hansieodendaal committed Sep 10, 2024
1 parent 583d331 commit 8772813
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion comms/core/src/connection_manager/tests/listener_dialer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,10 @@ async fn excluded_yes() {

// Check that the dial failed. We're checking that the dial attempt was never made.
let res = reply_rx.await.unwrap();
assert_eq!(format!("{:?}", res), format!("Err(AllPeerAddressesAreExcluded(\"{}\"))", node_identity1.node_id()));
assert_eq!(
format!("{:?}", res),
format!("Err(AllPeerAddressesAreExcluded(\"{}\"))", node_identity1.node_id())
);

shutdown.trigger();
timeout(Duration::from_secs(5), dialer_fut).await.unwrap().unwrap();
Expand Down

0 comments on commit 8772813

Please sign in to comment.