Apply clang-format

This commit is contained in:
Martchus 2024-01-28 21:39:15 +01:00
parent 299142bd1c
commit bb4f1dea2f
1 changed files with 4 additions and 5 deletions

View File

@ -190,8 +190,7 @@ void MiscTests::testConnectionSettingsAndLoadingSelfSignedCert()
connection.clearSelfSignedCertificate();
const auto expectedErrorMessage = QStringLiteral("Unable to load certificate used by Syncthing.");
auto expectedErrorOccured = false;
const function<void(const QString &)> errorHandler
= [&expectedErrorOccured, &expectedErrorMessage](const QString &message) {
const function<void(const QString &)> errorHandler = [&expectedErrorOccured, &expectedErrorMessage](const QString &message) {
std::cout << "\n - error: " << message.toLocal8Bit().data() << '\n';
expectedErrorOccured |= message == expectedErrorMessage;
};