[network/ruqola/ddp-reconnect-robustness] src/core/autotests: Apply clang-format to ddpclienttest

Till Adam <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 498703c93dae17cfe7a412c095ebe5db44a71c2c by Till Adam.
Committed on 25/07/2026 at 10:42.
Pushed by tilladam into branch 'ddp-reconnect-robustness'.

Apply clang-format to ddpclienttest

The pre-commit clang-format hook (.clang-format-pre-commit) collapses the
connect() call onto a single line; align with it so CI passes.

Claude-Session: https://claude.ai/code/session_019S3mh6FrcakoNjfBKMBG4A

M  +4    -7    src/core/autotests/ddpclienttest.cpp

https://invent.kde.org/network/ruqola/-/commit/498703c93dae17cfe7a412c095ebe5db44a71c2c

diff --git a/src/core/autotests/ddpclienttest.cpp b/src/core/autotests/ddpclienttest.cpp
index 03a88be158..1f7f6e32d6 100644
--- a/src/core/autotests/ddpclienttest.cpp
+++ b/src/core/autotests/ddpclienttest.cpp
@@ -124,13 +124,10 @@ void DDPClientTest::closeNotificationSurvivesAuthenticationCleanup()
         connect(&client, &DDPClient::wsClosedSocketError, &account, queueReconnect);
     }
 
-    connect(client.authenticationManager(),
-            &DDPAuthenticationManager::loginStatusChanged,
-            &account,
-            [&client, &account, &authenticationCleanupRan]() {
-                authenticationCleanupRan = true;
-                disconnect(&client, nullptr, &account, nullptr);
-            });
+    connect(client.authenticationManager(), &DDPAuthenticationManager::loginStatusChanged, &account, [&client, &account, &authenticationCleanupRan]() {
+        authenticationCleanupRan = true;
+        disconnect(&client, nullptr, &account, nullptr);
+    });
 
     webSocket->setCloseCode(static_cast<QWebSocketProtocol::CloseCode>(closeCode));
     client.onWSclosed();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.