aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp2
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp12
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);
}