mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
Add braces to if statements in Qt test_main
This commit is contained in:
parent
cc9503cec9
commit
b61b34c89d
@ -50,19 +50,23 @@ int main(int argc, char *argv[])
|
||||
SSL_library_init();
|
||||
|
||||
URITests test1;
|
||||
if (QTest::qExec(&test1) != 0)
|
||||
if (QTest::qExec(&test1) != 0) {
|
||||
fInvalid = true;
|
||||
}
|
||||
#ifdef ENABLE_WALLET
|
||||
PaymentServerTests test2;
|
||||
if (QTest::qExec(&test2) != 0)
|
||||
if (QTest::qExec(&test2) != 0) {
|
||||
fInvalid = true;
|
||||
}
|
||||
#endif
|
||||
RPCNestedTests test3;
|
||||
if (QTest::qExec(&test3) != 0)
|
||||
if (QTest::qExec(&test3) != 0) {
|
||||
fInvalid = true;
|
||||
}
|
||||
CompatTests test4;
|
||||
if (QTest::qExec(&test4) != 0)
|
||||
if (QTest::qExec(&test4) != 0) {
|
||||
fInvalid = true;
|
||||
}
|
||||
|
||||
return fInvalid;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user