changeset 12132 | 1525923cd7e3 |
parent 12131 | a4d22f197bd2 |
child 12133 | 81df2e1f9ae9 |
--- 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()); -}