From 2d816ef2b13fc2a46c0df76a91f7912bd7196087 Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Mon, 17 Jun 2019 20:49:08 +0200 Subject: [PATCH] update unit test to handle expected result following review comment --- test/chrono-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/chrono-test.cc b/test/chrono-test.cc index a9412c90e248..04b5f2fa020b 100644 --- a/test/chrono-test.cc +++ b/test/chrono-test.cc @@ -327,7 +327,7 @@ TEST(ChronoTest, SpecialDurations) { fmt::format("{:%S}", std::chrono::duration(1e20)).substr(0, 3)); auto nan = std::numeric_limits::quiet_NaN(); EXPECT_EQ( - "nan nan nan nan.nan nan:nan nan", + "nan nan nan nan nan:nan nan", fmt::format("{:%I %H %M %S %R %r}", std::chrono::duration(nan))); fmt::format("{:%S}", std::chrono::duration(1.79400457e+31f));