mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Some changes in libdevcore.
This commit is contained in:
parent
f00f1ef266
commit
45831ea950
@ -598,7 +598,7 @@ void userDefinedTest(std::function<void(json_spirit::mValue&, bool)> doTests)
|
|||||||
{
|
{
|
||||||
cnote << "Testing user defined test: " << filename;
|
cnote << "Testing user defined test: " << filename;
|
||||||
json_spirit::mValue v;
|
json_spirit::mValue v;
|
||||||
string s = asString(contents(filename));
|
string s = contentsString(filename);
|
||||||
BOOST_REQUIRE_MESSAGE(s.length() > 0, "Contents of " + filename + " is empty. ");
|
BOOST_REQUIRE_MESSAGE(s.length() > 0, "Contents of " + filename + " is empty. ");
|
||||||
json_spirit::read_string(s, v);
|
json_spirit::read_string(s, v);
|
||||||
json_spirit::mObject oSingleTest;
|
json_spirit::mObject oSingleTest;
|
||||||
|
Loading…
Reference in New Issue
Block a user