equal
deleted
inserted
replaced
21 } |
21 } |
22 |
22 |
23 #[cfg(test)] |
23 #[cfg(test)] |
24 mod tests { |
24 mod tests { |
25 use super::*; |
25 use super::*; |
26 use protocol::messages::HWServerMessage::ChatMsg; |
26 use crate::protocol::messages::HWServerMessage::ChatMsg; |
27 use server::actions::{ |
27 use crate::server::actions::{ |
28 Action::{self, Send}, PendingMessage, |
28 Action::{self, Send}, PendingMessage, |
29 }; |
29 }; |
30 |
30 |
31 fn reply2string(r: HWServerMessage) -> String { |
31 fn reply2string(r: HWServerMessage) -> String { |
32 match r { |
32 match r { |