From 9d38553384a98e4080072146b2f1628869fc9c66 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Wed, 17 Nov 2021 16:39:13 +0100 Subject: [PATCH] fish_tests: format elapsed seconds with two decimal places, that's enough --- src/fish_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index 2e9054fea..2cd7c5051 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -4874,7 +4874,7 @@ static void test_new_parser_fuzzing() { if (log_it) std::fwprintf(stderr, L"done (%lu)\n", permutation); } double end = timef(); - if (log_it) say(L"All fuzzed in %f seconds!", end - start); + if (log_it) say(L"All fuzzed in %.2f seconds!", end - start); } // Parse a statement, returning the command, args (joined by spaces), and the decoration. Returns