From 631f44331ea02abaac6f053fa9dfccb96fb8646f Mon Sep 17 00:00:00 2001 From: mo8it Date: Tue, 20 Aug 2024 13:08:15 +0200 Subject: [PATCH] Remove `--show-output` for tests and use `--format pretty` --- src/exercise.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exercise.rs b/src/exercise.rs index 500d119..cdac2e2 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -98,7 +98,7 @@ pub trait RunnableExercise { let output_is_some = output.is_some(); let mut test_cmd = cmd_runner.cargo("test", bin_name, output.as_deref_mut()); if output_is_some { - test_cmd.args(["--", "--color", "always", "--show-output"]); + test_cmd.args(["--", "--color", "always", "--format", "pretty"]); } let test_success = test_cmd.run("cargo test …")?; if !test_success {