aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2022-05-28 17:48:16 +0200
committerGitHub <noreply@github.com>2022-05-28 17:48:16 +0200
commit1ff2e122caf6a648a7fd6e7f00cad1445e01df6b (patch)
tree387eeb9525119a281623e73a85adc982194b97eb /tests
parent1b20fbc7408164079cf5ff64a273ce955d51cfb7 (diff)
downloadqxmpp-1ff2e122caf6a648a7fd6e7f00cad1445e01df6b.tar.gz
Apply 'clang-format' (#429)
Diffstat (limited to 'tests')
-rw-r--r--tests/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/util.h b/tests/util.h
index cfad6e1d..fd26f656 100644
--- a/tests/util.h
+++ b/tests/util.h
@@ -76,7 +76,9 @@ template<typename T, typename Input>
T expectFutureVariant(const QFuture<Input> &future)
{
#define return \
- return { }
+ return \
+ { \
+ }
QVERIFY(future.isFinished());
QVERIFY2(std::holds_alternative<T>(future.result()), "Variant contains wrong type!");
#undef return