diff options
| author | Russell Yanofsky <[email protected]> | 2017-03-15 13:02:02 -0400 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2017-03-15 13:02:02 -0400 |
| commit | b61b34c89dbe3946e21147dcfe620a4a6ff536ed (patch) | |
| tree | 9d634979387c4697ed233a4a9aa93e92398b9c20 /src | |
| parent | Make qt test compatible with TestChain100Setup framework (diff) | |
| download | discoin-b61b34c89dbe3946e21147dcfe620a4a6ff536ed.tar.xz discoin-b61b34c89dbe3946e21147dcfe620a4a6ff536ed.zip | |
Add braces to if statements in Qt test_main
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/test/test_main.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/qt/test/test_main.cpp b/src/qt/test/test_main.cpp index fd07ecb7a..fc085f7e9 100644 --- a/src/qt/test/test_main.cpp +++ b/src/qt/test/test_main.cpp @@ -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; } |