diff options
Diffstat (limited to 'tests/integration_tests.rs')
| -rw-r--r-- | tests/integration_tests.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index a077918..3acaf90 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -77,6 +77,16 @@ fn run_single_test_failure() { } #[test] +fn run_single_test_not_passed() { + Command::cargo_bin("rustlings") + .unwrap() + .args(&["r", "testNotPassed.rs"]) + .current_dir("tests/fixture/failure/") + .assert() + .code(1); +} + +#[test] fn run_single_test_no_filename() { Command::cargo_bin("rustlings") .unwrap() |
