fix regex matcher
Some checks failed
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 54s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 51s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 57s
linux-x64-gcc / linux-gcc (push) Failing after 1m8s
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m13s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m13s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m6s

This commit is contained in:
tqcq 2023-12-17 22:13:59 +08:00
parent 1b34a7350a
commit 3ecb4f508c

View File

@ -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.*");
}