Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Jul 8, 2023
1 parent 7aba1f6 commit 40d8260
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/deflate/mod.rs
Expand Up @@ -42,6 +42,7 @@ enum BlockType {
mod tests {
use super::*;
use crate::lz77;
use alloc::vec::Vec;
use core2::io::{Read, Write};

#[test]
Expand Down
1 change: 1 addition & 0 deletions src/non_blocking/gzip.rs
Expand Up @@ -157,6 +157,7 @@ mod tests {
use super::*;
use crate::gzip::Encoder;
use crate::util::{nb_read_to_end, WouldBlockReader};
use alloc::vec::Vec;
use core2::io::Write;

fn decode_all(buf: &[u8]) -> io::Result<Vec<u8>> {
Expand Down
1 change: 1 addition & 0 deletions src/util.rs
@@ -1,5 +1,6 @@
#[cfg(test)]
pub(crate) mod testonly {
use alloc::vec;
use alloc::vec::Vec;
use core2::io::{self, Read};

Expand Down

0 comments on commit 40d8260

Please sign in to comment.