Commit 1e4d3100 authored by kosak's avatar kosak
Browse files

Control death test with an #ifdef guard.

parent 156d1b51
......@@ -510,8 +510,12 @@ TEST_F(TestForDeathTest, AcceptsAnythingConvertibleToRE) {
# endif // GTEST_HAS_GLOBAL_STRING
# if !GTEST_USES_PCRE
const ::std::string regex_std_str(regex_c_str);
EXPECT_DEATH(GlobalFunction(), regex_std_str);
# endif // !GTEST_USES_PCRE
}
// Tests that a non-void function can be used in a death test.
......
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