--- a/rust/hedgewars-server/src/protocol/test.rs Tue May 28 19:04:18 2019 +0300
+++ b/rust/hedgewars-server/src/protocol/test.rs Tue May 28 21:28:32 2019 +0300
@@ -6,7 +6,7 @@
use crate::core::types::{GameCfg, HedgehogInfo, ServerVar, ServerVar::*, TeamInfo};
-use super::messages::{HWProtocolMessage, HWProtocolMessage::*};
+use super::messages::{HwProtocolMessage, HwProtocolMessage::*};
// Due to inability to define From between Options
trait Into2<T>: Sized {
@@ -166,7 +166,7 @@
type Strategy = BoxedStrategy<ServerVar>;
}
-pub fn gen_proto_msg() -> BoxedStrategy<HWProtocolMessage> where {
+pub fn gen_proto_msg() -> BoxedStrategy<HwProtocolMessage> where {
let res = (0..=55).no_shrink().prop_flat_map(|i| {
proto_msg_match!(i, def = Ping,
0 => Ping(),