aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/lib.rs')
-rw-r--r--azalea-protocol/src/lib.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs
index 12243de6..f9d29785 100644
--- a/azalea-protocol/src/lib.rs
+++ b/azalea-protocol/src/lib.rs
@@ -115,9 +115,9 @@ mod tests {
use crate::{
packets::{
- game::s_chat::{LastSeenMessagesUpdate, ServerboundChat},
- login::{s_hello::ServerboundHello, ServerboundLoginPacket},
Packet,
+ game::s_chat::{LastSeenMessagesUpdate, ServerboundChat},
+ login::{ServerboundLoginPacket, s_hello::ServerboundHello},
},
read::{compression_decoder, read_packet},
write::{compression_encoder, serialize_packet, write_packet},
@@ -136,7 +136,9 @@ mod tests {
assert_eq!(
stream,
- [22, 0, 4, 116, 101, 115, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+ [
+ 22, 0, 4, 116, 101, 115, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ ]
);
let mut stream = Cursor::new(stream);