diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-11-22 23:28:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-22 23:28:07 +0800 |
commit | 03b763aceeb0f2715ab024f2fb573574a7693f9c (patch) | |
tree | 40abf7a34f7e8a047bf55929b1d5559cccc388c9 | |
parent | ff229ab05a43d113bcd2de79f25caf52017c3486 (diff) | |
parent | 4876c58f91336918cc6d6520ace6ee8fdedc834c (diff) | |
download | dexon-solidity-03b763aceeb0f2715ab024f2fb573574a7693f9c.tar dexon-solidity-03b763aceeb0f2715ab024f2fb573574a7693f9c.tar.gz dexon-solidity-03b763aceeb0f2715ab024f2fb573574a7693f9c.tar.bz2 dexon-solidity-03b763aceeb0f2715ab024f2fb573574a7693f9c.tar.lz dexon-solidity-03b763aceeb0f2715ab024f2fb573574a7693f9c.tar.xz dexon-solidity-03b763aceeb0f2715ab024f2fb573574a7693f9c.tar.zst dexon-solidity-03b763aceeb0f2715ab024f2fb573574a7693f9c.zip |
Merge pull request #3233 from kseo/check-success
success(text) -> CHECK_SUCCESS(text)
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 73c1660e..4f576e51 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -1038,7 +1038,7 @@ BOOST_AUTO_TEST_CASE(function_modifier_double_invocation) modifier mod(uint a) { if (a > 0) _; } } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(base_constructor_double_invocation) @@ -5690,7 +5690,7 @@ BOOST_AUTO_TEST_CASE(constructible_internal_constructor) function D() public { } } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(return_structs) @@ -5703,7 +5703,7 @@ BOOST_AUTO_TEST_CASE(return_structs) } } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(return_recursive_structs) @@ -5753,7 +5753,7 @@ BOOST_AUTO_TEST_CASE(address_checksum_type_deduction) } } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(invalid_address_checksum) @@ -5896,7 +5896,7 @@ BOOST_AUTO_TEST_CASE(interface) interface I { } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(interface_constructor) @@ -5917,7 +5917,7 @@ BOOST_AUTO_TEST_CASE(interface_functions) function f(); } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(interface_function_bodies) @@ -5939,7 +5939,7 @@ BOOST_AUTO_TEST_CASE(interface_function_external) function f() external; } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(interface_function_public) @@ -5980,7 +5980,7 @@ BOOST_AUTO_TEST_CASE(interface_events) event E(); } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(interface_inheritance) @@ -6023,7 +6023,7 @@ BOOST_AUTO_TEST_CASE(interface_function_parameters) function f(uint a) public returns (bool); } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(interface_enums) @@ -6047,7 +6047,7 @@ BOOST_AUTO_TEST_CASE(using_interface) } } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(using_interface_complex) @@ -6064,7 +6064,7 @@ BOOST_AUTO_TEST_CASE(using_interface_complex) } } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(warn_about_throw) @@ -6123,7 +6123,7 @@ BOOST_AUTO_TEST_CASE(pure_statement_check_for_regular_for_loop) } } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(warn_multiple_storage_storage_copies) @@ -6239,7 +6239,7 @@ BOOST_AUTO_TEST_CASE(warn_unused_function_parameter) } } )"; - success(text); + CHECK_SUCCESS(text); } BOOST_AUTO_TEST_CASE(warn_unused_return_parameter) |