Skip to content

Commit f2af7d1

Browse files
committed
refactor: remove unused tests
1 parent 7f3b832 commit f2af7d1

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/test_cli.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,3 @@ fn test_version() {
1919
let mut cmd = Command::cargo_bin("codeinput").expect("Calling binary failed");
2020
cmd.arg("--version").assert().stdout(expected_version);
2121
}
22-
23-
#[test]
24-
fn test_hazard_exit_code() {
25-
let mut cmd = Command::cargo_bin("codeinput").expect("Calling binary failed");
26-
cmd.arg("hazard").assert().code(0);
27-
}
28-
29-
#[test]
30-
fn test_hazard_stdout() {
31-
let hazard_predicate =
32-
predicate::function(|x: &str| x == "You got it right!\n" || x == "You got it wrong!\n");
33-
let mut cmd = Command::cargo_bin("codeinput").expect("Calling binary failed");
34-
cmd.arg("hazard").assert().stdout(hazard_predicate);
35-
}

0 commit comments

Comments
 (0)