From 2405fa686a53f1d895807b1658c38a5e7e7693a0 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Thu, 21 Jan 2021 14:57:22 +0100 Subject: reorganize tests and add quassel features --- src/frame/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/frame/mod.rs') diff --git a/src/frame/mod.rs b/src/frame/mod.rs index cbeddb0..34a8514 100644 --- a/src/frame/mod.rs +++ b/src/frame/mod.rs @@ -15,6 +15,9 @@ use flate2::Decompress; use flate2::FlushCompress; use flate2::FlushDecompress; +#[cfg(test)] +mod tests; + /// Builder for the QuasselCodec #[derive(Debug, Clone, Copy)] pub struct Builder { @@ -28,6 +31,7 @@ pub struct Builder { } // An error when the number of bytes read is more than max frame length. +#[derive(PartialEq)] pub struct QuasselCodecError { _priv: (), } -- cgit v1.2.3