diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-05 23:35:31 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-04 00:21:55 +0800 |
commit | c98464db0607f62aa791aa1f7559a76623e254e7 (patch) | |
tree | 864729001c1fb4bf37265ca0f6c48208c4552b4c /test/libsolidity | |
parent | 07c74ef9241b1fe4fdec5cf4bd97e2c1aedb8d0d (diff) | |
download | dexon-solidity-c98464db0607f62aa791aa1f7559a76623e254e7.tar.gz dexon-solidity-c98464db0607f62aa791aa1f7559a76623e254e7.tar.zst dexon-solidity-c98464db0607f62aa791aa1f7559a76623e254e7.zip |
Remove redundant test and enforce success without warnings.
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 874cc0a6..b6596327 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -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) |