diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-01-02 04:45:00 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-01-02 04:45:00 +0800 |
commit | 69d3e55f6eebf24f436c822880264334af78a08e (patch) | |
tree | 651b72e5935351bffda6ee1b98cba3193169e59a | |
parent | 0c980d85a551254708b1b1facfa90e070abd2bb1 (diff) | |
download | dexon-solidity-69d3e55f6eebf24f436c822880264334af78a08e.tar dexon-solidity-69d3e55f6eebf24f436c822880264334af78a08e.tar.gz dexon-solidity-69d3e55f6eebf24f436c822880264334af78a08e.tar.bz2 dexon-solidity-69d3e55f6eebf24f436c822880264334af78a08e.tar.lz dexon-solidity-69d3e55f6eebf24f436c822880264334af78a08e.tar.xz dexon-solidity-69d3e55f6eebf24f436c822880264334af78a08e.tar.zst dexon-solidity-69d3e55f6eebf24f436c822880264334af78a08e.zip |
use boost_fail instead of warning
-rw-r--r-- | trie.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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))); |