working test
This commit is contained in:
parent
52614c4f5d
commit
cdd8b431aa
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue