Skip to content

Commit

Permalink
test: Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
felinira committed Dec 9, 2023
1 parent f451c98 commit 817e638
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/dilation/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ mod test {

assert_eq!(manager_fsm.current_state(), Some(State::Waiting));

manager_fsm.process(ManagerEvent::Start, &side, &mut |cmd| {
manager_fsm.process(ManagerEvent::Start, &side, &mut |_cmd| {
Err(WormholeError::Protocol("foo".into()))
});
}
Expand Down
2 changes: 0 additions & 2 deletions src/dilation/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,6 @@ mod test {

#[async_std::test]
async fn test_dilated_wormhole_new() {
let protocol = MockWormholeProtocol::default();

let wc_ctx = MockWormholeConnectionDefault::new_context();
wc_ctx
.expect()
Expand Down

0 comments on commit 817e638

Please sign in to comment.