Fix assert test cases
This commit is contained in:
parent
a4ce49aef4
commit
f4b1a7eced
@ -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.*"
|
||||
));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user