Merge pull request #7094 from ethereum/isoltest-arrow-optional

[isoltest] Introduce shorthand declaration: make `->` optional.
This commit is contained in:
chriseth
2019-08-01 15:42:42 +02:00
committed by GitHub
6 changed files with 57 additions and 19 deletions
@@ -739,13 +739,6 @@ BOOST_AUTO_TEST_CASE(call_arguments_tuple_invalid_parantheses)
BOOST_REQUIRE_THROW(parse(source), langutil::Error);
}
BOOST_AUTO_TEST_CASE(call_expectations_missing)
{
char const* source = R"(
// f())";
BOOST_REQUIRE_THROW(parse(source), langutil::Error);
}
BOOST_AUTO_TEST_CASE(call_ether_value_expectations_missing)
{
char const* source = R"(
@@ -847,7 +840,7 @@ BOOST_AUTO_TEST_CASE(call_arguments_newline_colon)
BOOST_AUTO_TEST_CASE(call_arrow_missing)
{
char const* source = R"(
// h256()
// h256() FAILURE
)";
BOOST_REQUIRE_THROW(parse(source), langutil::Error);
}