mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
use boost_fail instead of warning
This commit is contained in:
parent
0c980d85a5
commit
69d3e55f6e
4
trie.cpp
4
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)));
|
||||
|
Loading…
Reference in New Issue
Block a user