Make assert write to both log file and cerr (#1009)

This commit is contained in:
Sergey Kuznetsov
2023-11-30 10:33:52 +00:00
committed by GitHub
parent dd018f1c5e
commit 3fdcd3315b
3 changed files with 17 additions and 8 deletions

View File

@@ -28,5 +28,5 @@ TEST(AssertTests, assertTrue)
TEST(AssertTests, assertFalse)
{
EXPECT_DEATH({ ASSERT(false, "failure"); }, "failure");
EXPECT_DEATH({ ASSERT(false, "failure"); }, ".*");
}