diff --git a/crates/servicepoint/src/command.rs b/crates/servicepoint/src/command.rs index 537b017..6b821e9 100644 --- a/crates/servicepoint/src/command.rs +++ b/crates/servicepoint/src/command.rs @@ -492,9 +492,12 @@ impl Command { #[cfg(test)] mod tests { use crate::{ - bitvec::prelude::BitVec, command::TryFromPacketError, - command_code::CommandCode, origin::Pixels, Brightness, Command, - CompressionCode, Header, Origin, Packet, PixelGrid, PrimitiveGrid, + bitvec::prelude::BitVec, + command::TryFromPacketError, + command_code::CommandCode, + origin::Pixels, + packet::{Header, Packet}, + Brightness, Command, CompressionCode, Origin, PixelGrid, PrimitiveGrid, }; fn round_trip(original: Command) { diff --git a/crates/servicepoint/src/packet.rs b/crates/servicepoint/src/packet.rs index cf0fa82..a8f0831 100644 --- a/crates/servicepoint/src/packet.rs +++ b/crates/servicepoint/src/packet.rs @@ -316,7 +316,7 @@ impl Packet { #[cfg(test)] mod tests { - use crate::{Header, Packet}; + use super::*; #[test] fn round_trip() {