From c6f40e339f66a867d4196dc14338b9da7d6cb68a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 3 May 2014 15:16:52 -0700 Subject: [PATCH] Fix MSVC build. --- test/gtest-extra-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {