Clean (fmt et remove useless code) integration test
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Arnaud (Arhuman) ASSAD 2022-05-06 10:01:35 +02:00
parent 162c6aeb2d
commit 1172331ba4
1 changed files with 2 additions and 9 deletions

View File

@ -3,12 +3,6 @@
mod integration {
use regex::Regex;
use std::process::Command;
use std::process::Output;
static WITHOUT_ARGS_OUTPUT: &'static str = " USAGE:
carman [FLAGS] [OPTIONS] <URL>
For more information try --help
";
#[test]
fn calling_carman_without_args_returns_result() {
@ -30,5 +24,4 @@ mod integration {
let re = Regex::new(r"--help").unwrap();
assert!(re.is_match(&String::from_utf8_lossy(&output.stdout)));
}
}