mirror of
https://github.com/epi052/feroxbuster
synced 2024-07-05 16:58:36 +00:00
fixed hanging test
This commit is contained in:
parent
4b7a25c13b
commit
367dcdbd72
|
@ -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!();
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user