From c7895191ca26c70b6f07115b1d9ff3ddd436ca7c Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 2 Apr 2024 18:15:14 +0800 Subject: [PATCH] test: remove extraneous ")" after literal string for matcher this is a follow-up of fbbb336de961e433fc796dbdf6db650a836e9ef9, which added an extraneous ")" at the end of the string literal. and it breaks the build if ASan is enabled. Signed-off-by: Kefu Chai --- src/test/ceph_crypto.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ceph_crypto.cc b/src/test/ceph_crypto.cc index 2755e0486a071..faed29b8fbce4 100644 --- a/src/test/ceph_crypto.cc +++ b/src/test/ceph_crypto.cc @@ -274,7 +274,7 @@ TEST_F(ForkDeathTest, MD5) { // sanitizer warns like: // ==3798016==Running thread 3797882 was not suspended. False leaks are possible. // but we should not take it as a fatal error. - const std::string matcher = ".*False leaks are possible.*"); + const std::string matcher = ".*False leaks are possible.*"; #else const std::string matcher = "^$"; #endif -- 2.39.5