style fix

This commit is contained in:
LianaHus 2015-09-15 12:06:16 +02:00
parent dbb36a7a7b
commit 152bc642a6
2 changed files with 7 additions and 7 deletions

View File

@ -4195,7 +4195,7 @@ BOOST_AUTO_TEST_CASE(evm_exceptions_in_constructor_out_of_baund)
++test; ++test;
} }
} }
)"; )";
BOOST_CHECK(compileAndRunWithoutCheck(sourceCode, 0, "A").empty()); BOOST_CHECK(compileAndRunWithoutCheck(sourceCode, 0, "A").empty());
} }

View File

@ -2256,13 +2256,13 @@ BOOST_AUTO_TEST_CASE(creating_contract_within_the_contract)
BOOST_AUTO_TEST_CASE(array_out_of_bound_access) BOOST_AUTO_TEST_CASE(array_out_of_bound_access)
{ {
char const* text = R"( char const* text = R"(
contract c { contract c {
uint[2] dataArray; uint[2] dataArray;
function set5th() returns (bool) { function set5th() returns (bool) {
dataArray[5] = 2; dataArray[5] = 2;
return true; return true;
}
} }
}
)"; )";
BOOST_CHECK_THROW(parseTextAndResolveNames(text), TypeError); BOOST_CHECK_THROW(parseTextAndResolveNames(text), TypeError);
} }