diff --git a/src/verify.rs b/src/verify.rs index 8a2ad49f..8b189af0 100644 --- a/src/verify.rs +++ b/src/verify.rs @@ -50,6 +50,11 @@ enum RunMode { // Compile and run the resulting test harness of the given Exercise pub fn test(exercise: &Exercise, verbose: bool) -> Result<(), ()> { compile_and_test(exercise, RunMode::NonInteractive, verbose, false)?; + println!( + "Exercise {} is done. Remove {} line to go to the next exercise.", + style(exercise).bold(), + style("`I AM NOT DONE`").bold() + ); Ok(()) } diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index d1694a39..bd1d0e76 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -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]