cargo fmt
All checks were successful
Rust/sat-rs/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-09-26 12:51:11 +02:00
parent a62df6dbf8
commit f0ccc35e80
Signed by: muellerr
GPG Key ID: A649FB78196E3849
2 changed files with 10 additions and 3 deletions

View File

@ -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");

View File

@ -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;