mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-07-28 14:26:59 -07:00
cargo fmt run
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user