fn banner_prints_denied_urls() {
    Command::cargo_bin("feroxbuster")
        .unwrap()
        .arg("--url")
        .arg("http://localhost")
        .arg("--dont-scan")
        .arg("http://dont-scan.me")
        .arg("https://also-not.me")
        .arg("https:")
        .arg("/deny.*")
        .assert()
        .success()
        .stderr(
            predicate::str::contains("─┬─")
                .and(predicate::str::contains("Target Url"))
                .and(predicate::str::contains("http://localhost"))
                .and(predicate::str::contains("Threads"))
                .and(predicate::str::contains("Wordlist"))
                .and(predicate::str::contains("Status Codes"))
                .and(predicate::str::contains("Timeout (secs)"))
                .and(predicate::str::contains("User-Agent"))
                .and(predicate::str::contains("Don't Scan Url"))
                .and(predicate::str::contains("Don't Scan Regex"))
                .and(predicate::str::contains("http://dont-scan.me"))
                .and(predicate::str::contains("https://also-not.me"))
                .and(predicate::str::contains("https:"))
                .and(predicate::str::contains("/deny.*"))
                .and(predicate::str::contains("─┴─")),
        );
}
/// test allows non-existent wordlist to trigger the banner printing to stderr
/// expect to see all mandatory prints + multiple dont scan url & regex entries
test allows non-existent wordlist to trigger the banner printing to stderr
expect to see all mandatory prints + multiple dont scan url & regex entries
test allows non - existent wordlist to trigger the banner printing to stderr expect to see all mandatory prints + multiple dont scan url & regex entries
fn banner_prints_denied_urls() {
    Command::cargo_bin("feroxbuster")
        .unwrap()
        .arg("--url")
        .arg("http://localhost")
        .arg("--dont-scan")
        .arg("http://dont-scan.me")
        .arg("https://also-not.me")
        .arg("https:")
        .arg("/deny.*")
        .assert()
        .success()
        .stderr(
            predicate::str::contains("─┬─")
                .and(predicate::str::contains("Target Url"))
                .and(predicate::str::contains("http://localhost"))
                .and(predicate::str::contains("Threads"))
                .and(predicate::str::contains("Wordlist"))
                .and(predicate::str::contains("Status Codes"))
                .and(predicate::str::contains("Timeout (secs)"))
                .and(predicate::str::contains("User-Agent"))
                .and(predicate::str::contains("Don't Scan Url"))
                .and(predicate::str::contains("Don't Scan Regex"))
                .and(predicate::str::contains("http://dont-scan.me"))
                .and(predicate::str::contains("https://also-not.me"))
                .and(predicate::str::contains("https:"))
                .and(predicate::str::contains("/deny.*"))
                .and(predicate::str::contains("─┴─")),
        );
}
fn banner_prints_denied_urls ( ) { Command :: cargo_bin ( " " ) . unwrap ( ) . arg ( " " ) . arg ( " " ) . arg ( " " ) . arg ( " " ) . arg ( " " ) . arg ( " " ) . arg ( " " ) . assert ( ) . success ( ) . stderr ( predicate :: str :: contains ( " . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " " ) ) . and ( predicate :: str :: contains ( " ) ; }
test allows non-existent wordlist to trigger the banner printing to stderr
expect to see all mandatory prints + multiple dont scan url & regex entries
test allows non - existent wordlist to trigger the banner printing to stderr expect to see all mandatory prints + multiple dont scan url & regex entries