Remove redundant test and enforce success without warnings.

This commit is contained in:
Daniel Kirchner 2018-03-05 16:35:31 +01:00 committed by Alex Beregszaszi
parent 07c74ef924
commit c98464db06

View File

@ -967,13 +967,7 @@ BOOST_AUTO_TEST_CASE(new_constructor_syntax)
char const* text = R"(
contract A { constructor() public {} }
)";
CHECK_SUCCESS(text);
text = R"(
pragma experimental "v0.5.0";
contract A { constructor() public {} }
)";
CHECK_SUCCESS(text);
CHECK_SUCCESS_NO_WARNINGS(text);
}
BOOST_AUTO_TEST_CASE(old_constructor_syntax)