mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Check State
Unused Variable
This commit is contained in:
parent
44405625f2
commit
4774ccfb28
@ -170,7 +170,7 @@ void ImportTest::importState(json_spirit::mObject& _o, State& _state)
|
||||
stateOptionsMap importedMap;
|
||||
importState(_o, _state, importedMap);
|
||||
for (auto& stateOptionMap: importedMap)
|
||||
assert(stateOptionMap.second.isAllSet()); //check that every parameter was declared in state object
|
||||
BOOST_CHECK_MESSAGE(stateOptionMap.second.isAllSet(), "Import State[" << stateOptionMap.first << "]: State is not complete!"); //check that every parameter was declared in state object
|
||||
}
|
||||
|
||||
void ImportTest::importTransaction(json_spirit::mObject& _o)
|
||||
|
Loading…
Reference in New Issue
Block a user