Test cases run successfully on Mac OS X

This commit is contained in:
Sebastian Messmer 2015-11-30 03:17:19 +01:00
parent 741be2b08f
commit c6658839e0
1 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@ TEST(AssertTest_DebugBuild, DiesIfFalse) {
TEST(AssertTest_DebugBuild, AssertMessage) {
EXPECT_DEATH(
ASSERT(2==5, "my message"),
"Assertion \\[2==5\\] failed in .*/assert_debug_test.cpp:25: my message"
"Assertion \\[2==5\\] failed in .*/assert_debug_test.cpp:[0-9]+: my message"
);
}
}