diff -r 278533359a93 -r 5febd2bc5372 rust/hedgewars-network-protocol/src/tests/test.rs --- a/rust/hedgewars-network-protocol/src/tests/test.rs Mon Feb 17 16:38:24 2025 +0100 +++ b/rust/hedgewars-network-protocol/src/tests/test.rs Sat Feb 22 19:39:31 2025 +0300 @@ -206,7 +206,7 @@ 6 => ToggleServerRegisteredOnly(), 7 => SuperPower(), 8 => Info(Ascii), - 9 => Nick(Ascii), + 9 => Nick(Ascii, Option), 10 => Proto(u16), 11 => Password(Ascii, Ascii), 12 => Checker(u16, Ascii, Ascii), @@ -264,7 +264,7 @@ pub fn gen_server_msg() -> BoxedStrategy where { use HwServerMessage::*; - let res = (0..=38).no_shrink().prop_flat_map(|i| { + let res = (0..=39).no_shrink().prop_flat_map(|i| { proto_msg_match!(i, def = Ping, 0 => Connected(Ascii, u32), 1 => Redirect(u16), @@ -304,7 +304,8 @@ 35 => Notice(Ascii), 36 => Warning(Ascii), 37 => Error(Ascii), - 38 => Replay(Vec) + 38 => Replay(Vec), + 39 => Token(Ascii) ) }); res.boxed()