aboutsummaryrefslogtreecommitdiff
path: root/src/test/dbwrapper_tests.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-12-12 14:31:38 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2018-12-13 09:37:23 +0100
commitc84c2b8c92eb56b3b3793fc95265158f5eeb00db (patch)
tree38a2fd3c0b2c44f4d68bb7c7e41609207f701a10 /src/test/dbwrapper_tests.cpp
parent6d0a14703e288d72ff19d4d89defbc853233899f (diff)
tests: Test for expected return values when calling functions returning a success code
Diffstat (limited to 'src/test/dbwrapper_tests.cpp')
-rw-r--r--src/test/dbwrapper_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/dbwrapper_tests.cpp b/src/test/dbwrapper_tests.cpp
index 1034d4ade2..94e8c95345 100644
--- a/src/test/dbwrapper_tests.cpp
+++ b/src/test/dbwrapper_tests.cpp
@@ -67,7 +67,7 @@ BOOST_AUTO_TEST_CASE(dbwrapper_batch)
// Remove key3 before it's even been written
batch.Erase(key3);
- dbw.WriteBatch(batch);
+ BOOST_CHECK(dbw.WriteBatch(batch));
BOOST_CHECK(dbw.Read(key, res));
BOOST_CHECK_EQUAL(res.ToString(), in.ToString());