Skip to content

Commit 300977e

Browse files
committed
fix: message_parsing test
1 parent 5bd16d3 commit 300977e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ mod tests {
3535
}
3636

3737
use crate::protocol::message::{Message, MessageFlags, MessageType};
38-
use crate::protocol::types::{ServerClient, Print};
38+
use crate::protocol::types::ServerClient;
3939
#[test]
4040
fn message_parsing() {
4141
let b: Vec<u8> = vec![8, 2, 0x68, 0x65, 0x6c, 0x6c, 0x6f,0x0];
@@ -58,7 +58,6 @@ mod tests {
5858
crate::protocol::types::ServerMessage::Print(p) => {
5959
assert_eq!(p.from, 2);
6060
assert_eq!(p.message.string, "hello");
61-
panic!("{:?}", message.trace.read);
6261
},
6362
_ => { panic!("its not print!");},
6463
}

0 commit comments

Comments
 (0)