From eeafcee7ad07ae793602a3640b7f05d3cb26ff9f Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 18 Jun 2025 12:49:04 +1000 Subject: [PATCH] Preserve brackets around string concatenation We need disable clang-format here to preserve the brackets around the string concatenation to prevent -Wstring-concatenation -Werror breaking the build. --- tests/dns/private_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/dns/private_test.c b/tests/dns/private_test.c index 2bd8b366fb..762bc0626b 100644 --- a/tests/dns/private_test.c +++ b/tests/dns/private_test.c @@ -168,8 +168,10 @@ ISC_RUN_TEST_IMPL(private_nsec3_totext) { const char *results[] = { "Creating NSEC3 chain 1 0 1 BEEF", "Creating NSEC3 chain 1 1 10 DADD", "Pending NSEC3 chain 1 0 20 BEAD", + /* clang-format off */ ("Removing NSEC3 chain 1 0 30 DEAF / " "creating NSEC chain"), + /* clang-format on */ "Removing NSEC3 chain 1 0 100 FEEDABEE" }; int ncases = 5;