Fixes gtest-port_test on MinGW.
This commit is contained in:
parent
97c452823c
commit
e85375608b
|
@ -149,8 +149,10 @@ TEST(GtestCheckDeathTest, DiesWithCorrectOutputOnFailure) {
|
||||||
const char regex[] =
|
const char regex[] =
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
"gtest-port_test\\.cc\\(\\d+\\):"
|
"gtest-port_test\\.cc\\(\\d+\\):"
|
||||||
#else
|
#elif GTEST_USES_POSIX_RE
|
||||||
"gtest-port_test\\.cc:[0-9]+"
|
"gtest-port_test\\.cc:[0-9]+"
|
||||||
|
#else
|
||||||
|
"gtest-port_test\\.cc:\\d+"
|
||||||
#endif // _MSC_VER
|
#endif // _MSC_VER
|
||||||
".*a_false_condition.*Extra info.*";
|
".*a_false_condition.*Extra info.*";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user