working test

This commit is contained in:
specCon18 2023-09-20 23:50:44 -04:00
parent 52614c4f5d
commit cdd8b431aa

View file

@ -2,6 +2,9 @@ use data_encoding::HEXUPPER;
use ring::digest::{Context, Digest, SHA256}; use ring::digest::{Context, Digest, SHA256};
use std::{fs::{self, File},io::{BufReader, Read},os::unix::fs::PermissionsExt,path::Path}; use std::{fs::{self, File},io::{BufReader, Read},os::unix::fs::PermissionsExt,path::Path};
pub mod extractors; pub mod extractors;
#[cfg(test)] #[cfg(test)]
@ -10,6 +13,7 @@ mod tests {
use std::fs; use std::fs;
use std::path::PathBuf; use std::path::PathBuf;
use std::path::Path; use std::path::Path;
use ring::digest::SHA256;
use extractors::{ use extractors::{
extract_zip, extract_zip,
extract_rar, extract_rar,
@ -217,4 +221,4 @@ fn test_extract_zip() {
flags flags
} }
} }