fixed hanging test

This commit is contained in:
epi 2023-02-28 06:06:53 -06:00
parent 4b7a25c13b
commit 367dcdbd72
2 changed files with 3 additions and 5 deletions

View File

@ -247,12 +247,11 @@ fn ferox_scan_deserialize() {
}
match fs.progress_bar.lock() {
Ok(guard) => match guard.as_ref() {
Some(_) => {
Ok(guard) => {
if guard.is_some() {
panic!();
}
None => {}
},
}
Err(_) => {
panic!();
}

View File

@ -70,7 +70,6 @@ fn resume_scan_works() {
Command::cargo_bin("feroxbuster")
.unwrap()
.arg("-vvv")
.arg("--burp")
.arg("--resume-from")
.arg(state_file.as_os_str())
.assert()