Fix tests

This commit is contained in:
Aleksandr Borodulin 2023-10-04 15:43:25 +03:00
parent 370219e1d3
commit b1200de75e

View file

@ -189,7 +189,7 @@ fn run_test_exercise_does_not_prompt() {
.current_dir("tests/fixture/state")
.assert()
.code(0)
.stdout(predicates::str::contains("I AM NOT DONE").not());
.stdout(predicates::str::contains("Exercise pending_test_exercise.rs is done. Remove `I AM NOT DONE` line to go to the next exercise."));
}
#[test]