diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-01-15 01:10:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 07:10:12 +0100 |
commit | ad224f53c798e8417a63d98daeaf3cadc199666c (patch) | |
tree | f323be53d4f5b4289cd04296af1d35028dc23b15 /cli/tools/test.rs | |
parent | 903cb48fe94bbbb0c43f17cf51e84a5583ddb728 (diff) |
chore: upgrade to rust 1.58 (#13377)
Diffstat (limited to 'cli/tools/test.rs')
-rw-r--r-- | cli/tools/test.rs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs index d991ef1ec..5e2d74ecf 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -267,11 +267,7 @@ impl PrettyTestReporter { print!("{}", " ".repeat(description.level)); } - println!( - "{} {}", - status, - colors::gray(human_elapsed(elapsed.into())).to_string() - ); + println!("{} {}", status, colors::gray(human_elapsed(elapsed.into()))); if let Some(error_text) = result.error() { for line in error_text.lines() { @@ -357,11 +353,7 @@ impl TestReporter for PrettyTestReporter { print!(" "); } - println!( - "{} {}", - status, - colors::gray(human_elapsed(elapsed.into())).to_string() - ); + println!("{} {}", status, colors::gray(human_elapsed(elapsed.into()))); } fn report_step_wait(&mut self, description: &TestStepDescription) { |