Skip to content

Commit

Permalink
fix: fix assert empty msgs
Browse files Browse the repository at this point in the history
Signed-off-by: Dat Tien Nguyen <[email protected]>
  • Loading branch information
datbeohbbh committed Oct 20, 2024
1 parent 22677bf commit ac4b281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/tests/integration_cases/test_raw_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1944,7 +1944,7 @@ fn test_disable_proposal_forwarding() {
Err(Error::ProposalDropped)
);

assert_eq!(network.peers.get(&3).unwrap().msgs.is_empty(), true);
assert!(network.peers.get(&3).unwrap().msgs.is_empty());
}

#[derive(Default)]
Expand Down

0 comments on commit ac4b281

Please sign in to comment.