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
+1 -1
View File
@@ -334,7 +334,7 @@ TEST(FileTest, Dup2NoExcept) {
file copy = open_file();
error_code ec;
f.dup2(copy.descriptor(), ec);
EXPECT_EQ(0, ec.get());
EXPECT_EQ(ec.get(), 0);
EXPECT_NE(f.descriptor(), copy.descriptor());
EXPECT_READ(copy, FILE_CONTENT);
}