mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style fix
This commit is contained in:
parent
dbb36a7a7b
commit
152bc642a6
@ -4195,7 +4195,7 @@ BOOST_AUTO_TEST_CASE(evm_exceptions_in_constructor_out_of_baund)
|
||||
++test;
|
||||
}
|
||||
}
|
||||
)";
|
||||
)";
|
||||
BOOST_CHECK(compileAndRunWithoutCheck(sourceCode, 0, "A").empty());
|
||||
}
|
||||
|
||||
|
@ -2256,13 +2256,13 @@ BOOST_AUTO_TEST_CASE(creating_contract_within_the_contract)
|
||||
BOOST_AUTO_TEST_CASE(array_out_of_bound_access)
|
||||
{
|
||||
char const* text = R"(
|
||||
contract c {
|
||||
uint[2] dataArray;
|
||||
function set5th() returns (bool) {
|
||||
dataArray[5] = 2;
|
||||
return true;
|
||||
contract c {
|
||||
uint[2] dataArray;
|
||||
function set5th() returns (bool) {
|
||||
dataArray[5] = 2;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
)";
|
||||
BOOST_CHECK_THROW(parseTextAndResolveNames(text), TypeError);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user