Skip to content

Commit

Permalink
Fix broken clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
njgheorghita committed Nov 30, 2023
1 parent f2d345c commit 35cfcb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/handler/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use std::{
collections::HashSet,
convert::TryInto,
net::{Ipv4Addr, Ipv6Addr},
num::NonZeroU16,
ops::Add,
};

Expand Down Expand Up @@ -817,7 +818,7 @@ async fn test_replay_active_requests() {
body: ResponseBody::Pong {
enr_seq: 1,
ip: ip.into(),
port: sender_port,
port: NonZeroU16::new(sender_port).unwrap(),
},
};
receiver_send
Expand Down Expand Up @@ -1011,7 +1012,7 @@ async fn test_send_pending_request() {
body: ResponseBody::Pong {
enr_seq: 1,
ip: ip.into(),
port: sender_port,
port: NonZeroU16::new(sender_port).unwrap(),
},
};
receiver_send
Expand Down

0 comments on commit 35cfcb3

Please sign in to comment.