aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src')
-rw-r--r--azalea-protocol/src/lib.rs5
-rwxr-xr-xazalea-protocol/src/read.rs1
2 files changed, 2 insertions, 4 deletions
diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs
index d9860a8b..8c357905 100644
--- a/azalea-protocol/src/lib.rs
+++ b/azalea-protocol/src/lib.rs
@@ -79,10 +79,7 @@ impl Display for ServerAddress {
#[cfg(test)]
mod tests {
- use std::{
- io::Cursor,
- time::{SystemTime, UNIX_EPOCH},
- };
+ use std::io::Cursor;
use crate::{
packets::{
diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs
index 1018c085..5436fb1d 100755
--- a/azalea-protocol/src/read.rs
+++ b/azalea-protocol/src/read.rs
@@ -264,6 +264,7 @@ mod tests {
use crate::packets::game::ClientboundGamePacket;
use std::io::Cursor;
+ #[test]
fn test_read_packet() {
let mut buf: Cursor<&[u8]> = Cursor::new(&[
56, 64, 85, 58, 141, 138, 71, 146, 193, 64, 88, 0, 0, 0, 0, 0, 0, 64, 60, 224, 105, 34,