mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
Print FAILED
This commit is contained in:
parent
06d1089714
commit
ff4c752984
|
@ -190,6 +190,8 @@ impl AppState {
|
||||||
writer.flush()?;
|
writer.flush()?;
|
||||||
|
|
||||||
if !exercise.run()?.status.success() {
|
if !exercise.run()?.status.success() {
|
||||||
|
writer.write_fmt(format_args!("{}\n\n", "FAILED".red()))?;
|
||||||
|
|
||||||
self.state_file.current_exercise_ind = exercise_ind;
|
self.state_file.current_exercise_ind = exercise_ind;
|
||||||
self.current_exercise = exercise;
|
self.current_exercise = exercise;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue