Commit db4b5830 authored by kenton@google.com's avatar kenton@google.com

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

parent 50ede8ba
......@@ -465,6 +465,8 @@ TEST(ExtensionSetTest, SpaceUsedExcludingSelf) {
}
}
#ifdef GTEST_HAS_DEATH_TEST
TEST(ExtensionSetTest, InvalidEnumDeath) {
unittest::TestAllExtensions message;
EXPECT_DEBUG_DEATH(
......@@ -473,6 +475,8 @@ TEST(ExtensionSetTest, InvalidEnumDeath) {
"IsValid");
}
#endif GTEST_HAS_DEATH_TEST
} // namespace
} // namespace internal
} // namespace protobuf
......
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