Skip to content

Commit

Permalink
Remove redundant test and enforce success without warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ekpyron authored and axic committed Apr 3, 2018
1 parent 07c74ef commit c98464d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/libsolidity/SolidityNameAndTypeResolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c98464d

Please sign in to comment.