1. Andrew Godwin
  2. protobuf

Commits

ken...@google.com@630680e5-0e50-0410-840e-4b1c322b438d  committed 35bdc22

Protect a new death test with GTEST_HAS_DEATH_TEST, since MinGW doesn't support it.

  • Participants
  • Parent commits 8c6b4ea
  • Branches default

Comments (0)

Files changed (1)

File src/google/protobuf/extension_set_unittest.cc

View file
   }
 }
 
+#ifdef GTEST_HAS_DEATH_TEST
+
 TEST(ExtensionSetTest, InvalidEnumDeath) {
   unittest::TestAllExtensions message;
   EXPECT_DEBUG_DEATH(
     "IsValid");
 }
 
+#endif GTEST_HAS_DEATH_TEST
+
 }  // namespace
 }  // namespace internal
 }  // namespace protobuf