Make tests more consistent in style

This commit is contained in:
Denton Liu
2016-08-26 13:33:42 -04:00
parent d2144b03c7
commit ff756bc94d
3 changed files with 5 additions and 8 deletions
+2 -1
View File
@@ -2549,8 +2549,9 @@ BOOST_AUTO_TEST_CASE(event)
if (_manually) {
bytes32 s = 0x19dacbf83c5de6658e14cbf7bcae5c15eca2eedecf1c66fbca928e4d351bea0f;
log3(bytes32(msg.value), s, bytes32(msg.sender), _id);
} else
} else {
Deposit(msg.sender, _id, msg.value);
}
}
}
)";
+1 -1
View File
@@ -540,7 +540,7 @@ BOOST_AUTO_TEST_CASE(if_statement)
{
char const* text = "contract test {\n"
" function fun(uint256 a) {\n"
" if (a >= 8) return 2; else { var b = 7; }\n"
" if (a >= 8) { return 2 }; else { var b = 7; }\n"
" }\n"
"}\n";
BOOST_CHECK(successParse(text));