aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-09-22 12:51:50 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-09-22 12:50:39 +0200
commit3333bd2d155cc38ed6f1e8cc90ea85817a7b6445 (patch)
treec2c73a01fce425a497a23f3da3843ec29a887a4b /src/test
parentcf5ebaa921a939cc3a81948a559c1f1ab53d68b6 (diff)
[test] Remove redundant print in addrman_tests
Diffstat (limited to 'src/test')
-rw-r--r--src/test/addrman_tests.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/addrman_tests.cpp b/src/test/addrman_tests.cpp
index 5f150e4812..5ccaeb57bb 100644
--- a/src/test/addrman_tests.cpp
+++ b/src/test/addrman_tests.cpp
@@ -257,8 +257,7 @@ BOOST_AUTO_TEST_CASE(addrman_tried_collisions)
addrman.Good(CAddress(addr, NODE_NONE));
//Test 15: No collision in tried table yet.
- BOOST_TEST_MESSAGE(addrman.size());
- BOOST_CHECK(addrman.size() == i);
+ BOOST_CHECK_EQUAL(addrman.size(), i);
}
//Test 16: tried table collision!
@@ -543,4 +542,4 @@ BOOST_AUTO_TEST_CASE(caddrinfo_get_new_bucket)
// than 64 buckets.
BOOST_CHECK(buckets.size() > 64);
}
-BOOST_AUTO_TEST_SUITE_END() \ No newline at end of file
+BOOST_AUTO_TEST_SUITE_END()