diff --git a/test/assert/assert_debug_test.cpp b/test/assert/assert_debug_test.cpp index 748b995d..d5f35f55 100644 --- a/test/assert/assert_debug_test.cpp +++ b/test/assert/assert_debug_test.cpp @@ -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" ); -} \ No newline at end of file +}