Commit c6f40e33 authored by Victor Zverovich's avatar Victor Zverovich

Fix MSVC build.

parent ee793b35
...@@ -167,7 +167,7 @@ bool IsClosedInternal(int fd) { ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment