Browse Source

Add braces to if statements in Qt test_main

0.15
Russell Yanofsky 8 years ago
parent
commit
b61b34c89d
  1. 12
      src/qt/test/test_main.cpp

12
src/qt/test/test_main.cpp

@ -50,19 +50,23 @@ int main(int argc, char *argv[])
SSL_library_init(); SSL_library_init();
URITests test1; URITests test1;
if (QTest::qExec(&test1) != 0) if (QTest::qExec(&test1) != 0) {
fInvalid = true; fInvalid = true;
}
#ifdef ENABLE_WALLET #ifdef ENABLE_WALLET
PaymentServerTests test2; PaymentServerTests test2;
if (QTest::qExec(&test2) != 0) if (QTest::qExec(&test2) != 0) {
fInvalid = true; fInvalid = true;
}
#endif #endif
RPCNestedTests test3; RPCNestedTests test3;
if (QTest::qExec(&test3) != 0) if (QTest::qExec(&test3) != 0) {
fInvalid = true; fInvalid = true;
}
CompatTests test4; CompatTests test4;
if (QTest::qExec(&test4) != 0) if (QTest::qExec(&test4) != 0) {
fInvalid = true; fInvalid = true;
}
return fInvalid; return fInvalid;
} }

Loading…
Cancel
Save