Skip to content

Commit

Permalink
[rust] Include --debug flag in CLI test
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Apr 21, 2023
1 parent 1ab13d9 commit 4dd9e1f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions rust/tests/cli_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,16 @@ fn ok_test(
);

let mut cmd = Command::new(env!("CARGO_BIN_EXE_selenium-manager"));
cmd.args(["--browser", &browser, "--browser-version", &browser_version])
.assert()
.success()
.code(0);
cmd.args([
"--browser",
&browser,
"--browser-version",
&browser_version,
"--debug",
])
.assert()
.success()
.code(0);

let stdout = &cmd.unwrap().stdout;
let output = match str::from_utf8(stdout) {
Expand Down

0 comments on commit 4dd9e1f

Please sign in to comment.