aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityParser.cpp
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-08-31 21:55:28 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-08-31 23:17:11 +0800
commita8c5d2bbde73e13dc2fc2e002bab0bd39536f162 (patch)
tree57b079131a74ca33339ae0e9653b98c680fbf919 /test/libsolidity/SolidityParser.cpp
parentff756bc94d7129844f8f3492cc07807a78b973bc (diff)
downloaddexon-solidity-a8c5d2bbde73e13dc2fc2e002bab0bd39536f162.tar.gz
dexon-solidity-a8c5d2bbde73e13dc2fc2e002bab0bd39536f162.tar.zst
dexon-solidity-a8c5d2bbde73e13dc2fc2e002bab0bd39536f162.zip
Fix syntax error
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r--test/libsolidity/SolidityParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp
index 07cb0751..92f5a142 100644
--- a/test/libsolidity/SolidityParser.cpp
+++ b/test/libsolidity/SolidityParser.cpp
@@ -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));