Fixes gtest-port_test on MinGW.

This commit is contained in:
vladlosev 2010-04-22 11:43:55 +00:00
parent 97c452823c
commit e85375608b

View File

@ -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.*";