mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove redundant test and enforce success without warnings.
This commit is contained in:
parent
07c74ef924
commit
c98464db06
@ -967,13 +967,7 @@ BOOST_AUTO_TEST_CASE(new_constructor_syntax)
|
|||||||
char const* text = R"(
|
char const* text = R"(
|
||||||
contract A { constructor() public {} }
|
contract A { constructor() public {} }
|
||||||
)";
|
)";
|
||||||
CHECK_SUCCESS(text);
|
CHECK_SUCCESS_NO_WARNINGS(text);
|
||||||
|
|
||||||
text = R"(
|
|
||||||
pragma experimental "v0.5.0";
|
|
||||||
contract A { constructor() public {} }
|
|
||||||
)";
|
|
||||||
CHECK_SUCCESS(text);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(old_constructor_syntax)
|
BOOST_AUTO_TEST_CASE(old_constructor_syntax)
|
||||||
|
Loading…
Reference in New Issue
Block a user