mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-04 06:53:06 +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)]
|
#[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]
|
||||||
|
|||||||
@ -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";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user