Clippy happy on tests

This commit is contained in:
Daniel Sanchez Quiros 2022-10-12 11:38:22 -05:00
parent 7d66939668
commit e718a19713
2 changed files with 1 additions and 2 deletions

View File

@ -100,7 +100,7 @@ pub fn waku_set_event_callback<F: FnMut(Signal) + Send + Sync + 'static>(f: F) {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use crate::events::waku_set_event_callback; use crate::events::waku_set_event_callback;
use crate::{Event, MessageId, Signal, WakuMessage, WakuPubSubTopic}; use crate::{Event, Signal};
// TODO: how to actually send a signal and check if the callback is run? // TODO: how to actually send a signal and check if the callback is run?
#[test] #[test]

View File

@ -494,7 +494,6 @@ where
mod tests { mod tests {
use super::*; use super::*;
use crate::WakuPubSubTopic; use crate::WakuPubSubTopic;
use sscanf::scanf;
#[test] #[test]
fn parse_waku_topic() { fn parse_waku_topic() {
let s = "/waku/2/default-waku/proto"; let s = "/waku/2/default-waku/proto";