aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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