Fix MSVC build.

This commit is contained in:
Victor Zverovich
2014-05-03 15:16:52 -07:00
parent ee793b35cf
commit c6f40e339f

View File

@ -167,7 +167,7 @@ bool IsClosedInternal(int fd) {
// Checks if the file is closed. // Checks if the file is closed.
# define EXPECT_CLOSED(fd) EXPECT_TRUE(IsClosedInternal(fd)) # define EXPECT_CLOSED(fd) EXPECT_TRUE(IsClosedInternal(fd))
#else #else
# define EXPECT_CLOSED(fd) EXPECT_DEATH(IsClosedInternal(fd)) # define EXPECT_CLOSED(fd) EXPECT_DEATH(IsClosedInternal(fd), "")
#endif #endif
TEST(FileTest, OpenFileInCtor) { TEST(FileTest, OpenFileInCtor) {