diff options
author | LianaHus <liana@ethdev.com> | 2015-09-15 18:06:16 +0800 |
---|---|---|
committer | LianaHus <liana@ethdev.com> | 2015-09-15 18:10:23 +0800 |
commit | 152bc642a6e8025d7957898e25848c9c836eb462 (patch) | |
tree | 1add764a7cd9453801342f40d621b694ae80a8fa /test | |
parent | dbb36a7a7bc81d5397b5da316c9a7d89c76cc52b (diff) | |
download | dexon-solidity-152bc642a6e8025d7957898e25848c9c836eb462.tar.gz dexon-solidity-152bc642a6e8025d7957898e25848c9c836eb462.tar.zst dexon-solidity-152bc642a6e8025d7957898e25848c9c836eb462.zip |
style fix
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 2 | ||||
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index cac2d296..2ba6ab85 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -4195,7 +4195,7 @@ BOOST_AUTO_TEST_CASE(evm_exceptions_in_constructor_out_of_baund) ++test; } } - )"; + )"; BOOST_CHECK(compileAndRunWithoutCheck(sourceCode, 0, "A").empty()); } diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index f671c5ec..2a720494 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -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); } |