diff options
| author | practicalswift <[email protected]> | 2018-12-12 14:31:38 +0100 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-12-13 09:37:23 +0100 |
| commit | c84c2b8c92eb56b3b3793fc95265158f5eeb00db (patch) | |
| tree | 38a2fd3c0b2c44f4d68bb7c7e41609207f701a10 /src/test/validation_block_tests.cpp | |
| parent | Merge #14908: test: Removed implicit CTransaction constructor calls from test... (diff) | |
| download | discoin-c84c2b8c92eb56b3b3793fc95265158f5eeb00db.tar.xz discoin-c84c2b8c92eb56b3b3793fc95265158f5eeb00db.zip | |
tests: Test for expected return values when calling functions returning a success code
Diffstat (limited to 'src/test/validation_block_tests.cpp')
| -rw-r--r-- | src/test/validation_block_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/validation_block_tests.cpp b/src/test/validation_block_tests.cpp index 4316f3799..935df34d7 100644 --- a/src/test/validation_block_tests.cpp +++ b/src/test/validation_block_tests.cpp @@ -137,7 +137,7 @@ BOOST_AUTO_TEST_CASE(processnewblock_signals_ordering) BOOST_CHECK(ProcessNewBlockHeaders(headers, state, Params())); // Connect the genesis block and drain any outstanding events - ProcessNewBlock(Params(), std::make_shared<CBlock>(Params().GenesisBlock()), true, &ignored); + BOOST_CHECK(ProcessNewBlock(Params(), std::make_shared<CBlock>(Params().GenesisBlock()), true, &ignored)); SyncWithValidationInterfaceQueue(); // subscribe to events (this subscriber will validate event ordering) |