diff --git a/test/gtest-extra-test.cc b/test/gtest-extra-test.cc index 80a17769..5b79bbb3 100644 --- a/test/gtest-extra-test.cc +++ b/test/gtest-extra-test.cc @@ -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) {