diff options
Diffstat (limited to 'library/test/src/formatters/terse.rs')
| -rw-r--r-- | library/test/src/formatters/terse.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/library/test/src/formatters/terse.rs b/library/test/src/formatters/terse.rs index b28120ab56e..0720f06e174 100644 --- a/library/test/src/formatters/terse.rs +++ b/library/test/src/formatters/terse.rs @@ -295,4 +295,14 @@ impl<T: Write> OutputFormatter for TerseFormatter<T> { Ok(success) } + + fn write_merged_doctests_times( + &mut self, + total_time: f64, + compilation_time: f64, + ) -> io::Result<()> { + self.write_plain(format!( + "all doctests ran in {total_time:.2}s; merged doctests compilation took {compilation_time:.2}s\n", + )) + } } |
