From a8c5d2bbde73e13dc2fc2e002bab0bd39536f162 Mon Sep 17 00:00:00 2001 From: Denton Liu Date: Wed, 31 Aug 2016 09:55:28 -0400 Subject: Fix syntax error --- test/libsolidity/SolidityParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/libsolidity/SolidityParser.cpp') 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)); -- cgit