summaryrefslogtreecommitdiff
path: root/cli/tools/test/reporters/common.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools/test/reporters/common.rs')
-rw-r--r--cli/tools/test/reporters/common.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/cli/tools/test/reporters/common.rs b/cli/tools/test/reporters/common.rs
index 1dc879667..e4d8d4247 100644
--- a/cli/tools/test/reporters/common.rs
+++ b/cli/tools/test/reporters/common.rs
@@ -136,13 +136,8 @@ pub(super) fn report_summary(
if !failure.hide_in_summary() {
let failure_title = format_test_for_summary(cwd, description);
writeln!(writer, "{}", &failure_title).unwrap();
- writeln!(
- writer,
- "{}: {}",
- colors::red_bold("error"),
- failure.to_string()
- )
- .unwrap();
+ writeln!(writer, "{}: {}", colors::red_bold("error"), failure)
+ .unwrap();
writeln!(writer).unwrap();
failure_titles.push(failure_title);
}