Skip to content

Commit 631f443

Browse files
committed
Remove --show-output for tests and use --format pretty
1 parent b01fdde commit 631f443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exercise.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub trait RunnableExercise {
9898
let output_is_some = output.is_some();
9999
let mut test_cmd = cmd_runner.cargo("test", bin_name, output.as_deref_mut());
100100
if output_is_some {
101-
test_cmd.args(["--", "--color", "always", "--show-output"]);
101+
test_cmd.args(["--", "--color", "always", "--format", "pretty"]);
102102
}
103103
let test_success = test_cmd.run("cargo test …")?;
104104
if !test_success {

0 commit comments

Comments
 (0)