aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-29 16:51:39 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-29 20:52:40 +0000
commit25a7cfdb4a4e652c7d0a0f93333d60b0b9d186d1 (patch)
tree28c3bdb49aafb1c27bc08378ab91ccd7d91a6c48 /tests/unit_tests
parentMerge pull request #5486 (diff)
downloadmonero-25a7cfdb4a4e652c7d0a0f93333d60b0b9d186d1.tar.xz
add a few checks where it seems appropriate
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/test_protocol_pack.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/test_protocol_pack.cpp b/tests/unit_tests/test_protocol_pack.cpp
index 7329c0d23..0ae2e9c68 100644
--- a/tests/unit_tests/test_protocol_pack.cpp
+++ b/tests/unit_tests/test_protocol_pack.cpp
@@ -48,6 +48,7 @@ TEST(protocol_pack, protocol_pack_command)
cryptonote::NOTIFY_RESPONSE_CHAIN_ENTRY::request r2;
res = epee::serialization::load_t_from_binary(r2, buff);
+ ASSERT_TRUE(res);
ASSERT_TRUE(r.m_block_ids.size() == i);
ASSERT_TRUE(r.start_height == 1);
ASSERT_TRUE(r.total_height == 3);