Commits

Anonymous committed edea1b1

Fixes gtest-port_test on MinGW.

git-svn-id: http://googletest.googlecode.com/svn/trunk@420861a406c-534a-0410-8894-cb66d6ee9925

Comments (0)

Files changed (1)

test/gtest-port_test.cc

   const char regex[] =
 #ifdef _MSC_VER
      "gtest-port_test\\.cc\\(\\d+\\):"
-#else
+#elif GTEST_USES_POSIX_RE
      "gtest-port_test\\.cc:[0-9]+"
+#else
+     "gtest-port_test\\.cc:\\d+"
 #endif  // _MSC_VER
      ".*a_false_condition.*Extra info.*";