Fix assert test cases

This commit is contained in:
Sebastian Messmer 2016-07-22 14:10:21 +02:00
parent a4ce49aef4
commit f4b1a7eced

View File

@ -26,7 +26,7 @@ TEST(AssertTest_ReleaseBuild, AssertMessage) {
FAIL();
} catch (const cpputils::AssertFailed &e) {
EXPECT_THAT(e.what(), MatchesRegex(
"Assertion \\[2==5\\] failed in .*/assert_release_test.cpp:23: my message.*"
"Assertion \\[2==5\\] failed in .*/assert_release_test.cpp:25: my message.*"
));
}
}