From 1b34a7350af53398555e9800a18ffeef6b153e66 Mon Sep 17 00:00:00 2001 From: tqcq Date: Sun, 17 Dec 2023 22:07:18 +0800 Subject: [PATCH] feat try empty expression --- 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 a9ebcf6..1d226db 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(), "Assertion.*"); + EXPECT_DEATH(latch.CountDown(), ""); }