diff --git a/satrs-core/src/hal/std/tcp_spacepackets_server.rs b/satrs-core/src/hal/std/tcp_spacepackets_server.rs index 1c8b1a4..ec37092 100644 --- a/satrs-core/src/hal/std/tcp_spacepackets_server.rs +++ b/satrs-core/src/hal/std/tcp_spacepackets_server.rs @@ -187,8 +187,12 @@ mod tests { let tm_source = SyncTmSource::default(); let mut packet_id_lookup = HashSet::new(); packet_id_lookup.insert(TEST_PACKET_ID_0); - let mut tcp_server = - generic_tmtc_server(&auto_port_addr, tc_receiver.clone(), tm_source, packet_id_lookup); + let mut tcp_server = generic_tmtc_server( + &auto_port_addr, + tc_receiver.clone(), + tm_source, + packet_id_lookup, + ); let dest_addr = tcp_server .local_addr() .expect("retrieving dest addr failed"); diff --git a/satrs-core/src/hal/std/tcp_with_cobs_server.rs b/satrs-core/src/hal/std/tcp_with_cobs_server.rs index dccf19c..60231c6 100644 --- a/satrs-core/src/hal/std/tcp_with_cobs_server.rs +++ b/satrs-core/src/hal/std/tcp_with_cobs_server.rs @@ -172,7 +172,10 @@ mod tests { use crate::{ encoding::tests::{INVERTED_PACKET, SIMPLE_PACKET}, - hal::std::tcp_server::{ServerConfig, tests::{SyncTcCacher, SyncTmSource}}, + hal::std::tcp_server::{ + tests::{SyncTcCacher, SyncTmSource}, + ServerConfig, + }, }; use alloc::{boxed::Box, sync::Arc}; use cobs::encode;