Move chrono-specific code to a separate header

This commit is contained in:
Victor Zverovich
2018-12-09 06:45:20 -08:00
parent bf1f1c73e3
commit f54f3d0fb7
8 changed files with 443 additions and 302 deletions
+2 -2
View File
@@ -311,8 +311,8 @@ using fmt::error_code;
using fmt::file;
TEST(ErrorCodeTest, Ctor) {
EXPECT_EQ(0, error_code().get());
EXPECT_EQ(42, error_code(42).get());
EXPECT_EQ(error_code().get(), 0);
EXPECT_EQ(error_code(42).get(), 42);
}
TEST(OutputRedirectTest, ScopedRedirect) {