diff options
| author | Max Audron <audron@cocaine.farm> | 2021-01-21 14:57:22 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2021-01-21 14:57:22 +0100 |
| commit | 2405fa686a53f1d895807b1658c38a5e7e7693a0 (patch) | |
| tree | d40a9430a421d3ca4a28ce2ad98b51e3d731f265 /src/frame/mod.rs | |
| parent | Merge branch 'client' (diff) | |
reorganize tests and add quassel features
Diffstat (limited to '')
| -rw-r--r-- | src/frame/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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: (), } |
