Add message if run next success

This commit is contained in:
Aleksandr Borodulin 2023-10-04 15:28:58 +03:00
parent d15096f0df
commit 370219e1d3

View file

@ -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(())
}