Moving the surplus_input inline assembly test to yulSyntaxTests.

This commit is contained in:
Christian Parpart 2020-10-21 13:50:14 +02:00
parent f55844e0f2
commit 1a9a3b115c
2 changed files with 4 additions and 10 deletions

View File

@ -170,16 +170,6 @@ do { successParse((text), false, false, AssemblyStack::Language::StrictAssembly)
BOOST_AUTO_TEST_SUITE(SolidityInlineAssembly)
BOOST_AUTO_TEST_SUITE(Parsing) // {{{
BOOST_AUTO_TEST_CASE(surplus_input)
{
CHECK_PARSE_ERROR("{ } { }", ParserError, "Expected end of source but got '{'");
}
BOOST_AUTO_TEST_SUITE_END() // }}}
BOOST_AUTO_TEST_SUITE(Printing) // {{{
BOOST_AUTO_TEST_CASE(print_smoke)

View File

@ -0,0 +1,4 @@
{}
{}
// ----
// ParserError 2314: (3-4): Expected end of source but got '{'