From 0ee53a19357021cfbc76438a9fb1be0521ae0174 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Thu, 1 Jan 2015 21:45:00 +0100 Subject: [PATCH] use boost_fail instead of warning --- test/trie.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/trie.cpp b/test/trie.cpp index 59192f470..39a3a59a5 100644 --- a/test/trie.cpp +++ b/test/trie.cpp @@ -126,10 +126,10 @@ BOOST_AUTO_TEST_CASE(trie_tests_ordered) keysToBeDeleted.push_back(values[0]); } else - cwarn << "Bad type (expected string): " << s.type(); + BOOST_FAIL("Bad type (expected string)"); } - assert(values.size() == 2); + BOOST_REQUIRE(values.size() == 2); ss.push_back(make_pair(values[0], values[1])); if (!ss.back().first.find("0x")) ss.back().first = asString(fromHex(ss.back().first.substr(2)));