mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-02 14:03:12 +00:00
Clippy happy on tests
This commit is contained in:
parent
7d66939668
commit
e718a19713
@ -100,7 +100,7 @@ pub fn waku_set_event_callback<F: FnMut(Signal) + Send + Sync + 'static>(f: F) {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
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?
|
||||
#[test]
|
||||
|
||||
@ -494,7 +494,6 @@ where
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::WakuPubSubTopic;
|
||||
use sscanf::scanf;
|
||||
#[test]
|
||||
fn parse_waku_topic() {
|
||||
let s = "/waku/2/default-waku/proto";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user