Skip to content

Commit

Permalink
update unit test to handle expected result following review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldreik committed Jun 17, 2019
1 parent a5b9a26 commit 2d816ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/chrono-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ TEST(ChronoTest, SpecialDurations) {
fmt::format("{:%S}", std::chrono::duration<double>(1e20)).substr(0, 3));
auto nan = std::numeric_limits<double>::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<double>(nan)));
fmt::format("{:%S}",
std::chrono::duration<float, std::atto>(1.79400457e+31f));
Expand Down

0 comments on commit 2d816ef

Please sign in to comment.