diff --git a/pkstrings/src/lib.rs b/pkstrings/src/lib.rs index d79f4e9..58557cd 100644 --- a/pkstrings/src/lib.rs +++ b/pkstrings/src/lib.rs @@ -168,8 +168,8 @@ impl TryFrom for PKString { #[cfg(test)] mod tests { - use std::convert::TryFrom; use crate::PKString; + use std::convert::TryFrom; #[test] fn test_from_ord() { @@ -183,7 +183,8 @@ mod tests { 0x50, 0x50, 0x8f, 0x88, 0x83, 0x86, 0x84, 0x98, 0x50, 0x50, 0x50, 0x50, 0x50, 0x82, 0x87, 0x80, 0x91, 0x8c, 0x80, 0x8d, 0x83, 0x84, 0x91, 0x50, ]; - let result = String::from("KADABRA@@@@NIDOKING@@@BLASTOISE@@ODDISH@@@@@PIDGEY@@@@@CHARMANDER@"); + let result = + String::from("KADABRA@@@@NIDOKING@@@BLASTOISE@@ODDISH@@@@@PIDGEY@@@@@CHARMANDER@"); assert_eq!(PKString::try_from(party_nicks), Ok(PKString(result))); }