mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
tests: Test for expected return values when calling functions returning a success code
This commit is contained in:
parent
6d0a14703e
commit
c84c2b8c92
16 changed files with 161 additions and 161 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue