cargo fmt run

This commit is contained in:
Prabhpreet Dua
2023-12-05 06:00:11 +05:30
parent e54ea1feaa
commit b0dada7613
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -369,9 +369,9 @@ impl Default for Verbosity {
#[cfg(test)]
mod test {
use std::net::IpAddr;
use serial_test::parallel;
use super::*;
use serial_test::parallel;
use std::net::IpAddr;
fn split_str(s: &str) -> Vec<String> {
s.split(" ").map(|s| s.to_string()).collect()
+1 -1
View File
@@ -190,8 +190,8 @@ pub const BISCUIT_CT_LEN: usize = BISCUIT_PT_LEN + xaead::NONCE_LEN + xaead::TAG
#[cfg(test)]
mod test_constants {
use crate::msgs::{BISCUIT_CT_LEN, BISCUIT_PT_LEN};
use serial_test::parallel;
use rosenpass_ciphers::{xaead, KEY_LEN};
use serial_test::parallel;
#[test]
#[parallel]
+2 -2
View File
@@ -2041,13 +2041,13 @@ impl CryptoServer {
#[cfg(test)]
mod test {
use serial_test::{parallel, serial};
use std::{net::SocketAddrV4, thread::sleep, time::Duration};
use serial_test::{serial, parallel};
use super::*;
#[test]
#[parallel]
#[parallel]
/// Ensure that the protocol implementation can deal with truncated
/// messages and with overlong messages.
///