aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityParser.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-04-04 20:52:01 +0800
committerGitHub <noreply@github.com>2018-04-04 20:52:01 +0800
commit016f562348d5192b7d2f514a1aca961d4d665083 (patch)
treeab5f3421cb79a1f4caa193f988d755b2bef778b8 /test/libsolidity/SolidityParser.cpp
parent2fe5607a5a6618f27f4ed5c1effb4273c662ee3a (diff)
parent87ad337ae0c055c21476ef9961e52a9d7d3072bb (diff)
downloaddexon-solidity-016f562348d5192b7d2f514a1aca961d4d665083.tar
dexon-solidity-016f562348d5192b7d2f514a1aca961d4d665083.tar.gz
dexon-solidity-016f562348d5192b7d2f514a1aca961d4d665083.tar.bz2
dexon-solidity-016f562348d5192b7d2f514a1aca961d4d665083.tar.lz
dexon-solidity-016f562348d5192b7d2f514a1aca961d4d665083.tar.xz
dexon-solidity-016f562348d5192b7d2f514a1aca961d4d665083.tar.zst
dexon-solidity-016f562348d5192b7d2f514a1aca961d4d665083.zip
Merge pull request #3808 from ethereum/parserTests
SyntaxTests: extend syntax tests and isoltest to support parser error…
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r--test/libsolidity/SolidityParser.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp
index 4e862f60..93e6bcaa 100644
--- a/test/libsolidity/SolidityParser.cpp
+++ b/test/libsolidity/SolidityParser.cpp
@@ -112,26 +112,6 @@ while(0)
BOOST_AUTO_TEST_SUITE(SolidityParser)
-BOOST_AUTO_TEST_CASE(smoke_test)
-{
- char const* text = R"(
- contract test {
- uint256 stateVariable1;
- }
- )";
- BOOST_CHECK(successParse(text));
-}
-
-BOOST_AUTO_TEST_CASE(missing_variable_name_in_declaration)
-{
- char const* text = R"(
- contract test {
- uint256 ;
- }
- )";
- CHECK_PARSE_ERROR(text, "Expected identifier");
-}
-
BOOST_AUTO_TEST_CASE(empty_function)
{
char const* text = R"(