We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f3b832 commit f2af7d1Copy full SHA for f2af7d1
tests/test_cli.rs
@@ -19,17 +19,3 @@ fn test_version() {
19
let mut cmd = Command::cargo_bin("codeinput").expect("Calling binary failed");
20
cmd.arg("--version").assert().stdout(expected_version);
21
}
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
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
34
- cmd.arg("hazard").assert().stdout(hazard_predicate);
35
0 commit comments