rust/hedgewars-network-protocol/src/tests/parser.rs
changeset 16091 5febd2bc5372
parent 15997 7c8697fa019f
--- a/rust/hedgewars-network-protocol/src/tests/parser.rs	Mon Feb 17 16:38:24 2025 +0100
+++ b/rust/hedgewars-network-protocol/src/tests/parser.rs	Sat Feb 22 19:39:31 2025 +0300
@@ -22,7 +22,7 @@
     assert_eq!(message(b"START_GAME\n\n"), Ok((&b""[..], StartGame)));
     assert_eq!(
         message(b"NICK\nit's me\n\n"),
-        Ok((&b""[..], Nick("it's me".to_string())))
+        Ok((&b""[..], Nick("it's me".to_string(), None)))
     );
     assert_eq!(message(b"PROTO\n51\n\n"), Ok((&b""[..], Proto(51))));
     assert_eq!(