Skip to content

Commit b61b34c

Browse files
committed
Add braces to if statements in Qt test_main
1 parent cc9503c commit b61b34c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/qt/test/test_main.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,23 @@ int main(int argc, char *argv[])
5050
SSL_library_init();
5151

5252
URITests test1;
53-
if (QTest::qExec(&test1) != 0)
53+
if (QTest::qExec(&test1) != 0) {
5454
fInvalid = true;
55+
}
5556
#ifdef ENABLE_WALLET
5657
PaymentServerTests test2;
57-
if (QTest::qExec(&test2) != 0)
58+
if (QTest::qExec(&test2) != 0) {
5859
fInvalid = true;
60+
}
5961
#endif
6062
RPCNestedTests test3;
61-
if (QTest::qExec(&test3) != 0)
63+
if (QTest::qExec(&test3) != 0) {
6264
fInvalid = true;
65+
}
6366
CompatTests test4;
64-
if (QTest::qExec(&test4) != 0)
67+
if (QTest::qExec(&test4) != 0) {
6568
fInvalid = true;
69+
}
6670

6771
return fInvalid;
6872
}

0 commit comments

Comments
 (0)