Fix MSVC build.
This commit is contained in:
parent
ee793b35cf
commit
c6f40e339f
@ -167,7 +167,7 @@ bool IsClosedInternal(int fd) {
|
||||
// Checks if the file is closed.
|
||||
# define EXPECT_CLOSED(fd) EXPECT_TRUE(IsClosedInternal(fd))
|
||||
#else
|
||||
# define EXPECT_CLOSED(fd) EXPECT_DEATH(IsClosedInternal(fd))
|
||||
# define EXPECT_CLOSED(fd) EXPECT_DEATH(IsClosedInternal(fd), "")
|
||||
#endif
|
||||
|
||||
TEST(FileTest, OpenFileInCtor) {
|
||||
|
Loading…
Reference in New Issue
Block a user