From 3ecb4f508caccd9f7d900a936cf2bdf54c566d28 Mon Sep 17 00:00:00 2001 From: tqcq Date: Sun, 17 Dec 2023 22:13:59 +0800 Subject: [PATCH] fix regex matcher --- tests/ulib/concorrency/countdown_latch_unittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ulib/concorrency/countdown_latch_unittest.cpp b/tests/ulib/concorrency/countdown_latch_unittest.cpp index 1d226db..ec1d57d 100644 --- a/tests/ulib/concorrency/countdown_latch_unittest.cpp +++ b/tests/ulib/concorrency/countdown_latch_unittest.cpp @@ -51,5 +51,5 @@ TEST(CoundownLatch, Assert) latch.CountDown(); // NOTE https://github.com/google/googletest/blob/main/docs/advanced.md#death-tests-and-threads GTEST_FLAG_SET(death_test_style, "threadsafe"); - EXPECT_DEATH(latch.CountDown(), ""); + EXPECT_DEATH(latch.CountDown(), ".*failed.*"); }