pkstrings: rustfmt in tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
b5deb06f22
commit
11e54ded8b
1 changed files with 3 additions and 2 deletions
|
@ -168,8 +168,8 @@ impl TryFrom<String> 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)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue