mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add proper error reporting when invalid settings are provided in StandardJSON
This commit is contained in:
@@ -640,7 +640,7 @@ BOOST_AUTO_TEST_CASE(libraries_invalid_entry)
|
||||
}
|
||||
)";
|
||||
Json::Value result = compile(input);
|
||||
BOOST_CHECK(containsError(result, "JSONError", "library entry is not a JSON object."));
|
||||
BOOST_CHECK(containsError(result, "JSONError", "Library entry is not a JSON object."));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(libraries_invalid_hex)
|
||||
|
||||
Reference in New Issue
Block a user