diff -r a4d22f197bd2 -r 1525923cd7e3 gameServer2/src/protocol/mod.rs --- a/gameServer2/src/protocol/mod.rs Fri Jan 06 01:00:21 2017 +0300 +++ b/gameServer2/src/protocol/mod.rs Sat Jan 07 21:34:00 2017 +0300 @@ -3,8 +3,6 @@ use std::io::Result; mod messages; -mod hwprotocol; -mod lexer; pub struct FrameDecoder { buf: netbuf::Buf, @@ -25,9 +23,3 @@ &self.buf[..] } } - -#[test] -fn testparser() { - assert_eq!(messages::HWProtocolMessage::Nick("hey".to_string()), - hwprotocol::parse_ProtocolMessage("NICK\nhey\n\n").unwrap()); -}