diff options
author | chriseth <c@ethdev.com> | 2017-03-15 18:10:24 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-03-15 18:10:24 +0800 |
commit | ab178b8bac600562b9dadc529846a263efc14463 (patch) | |
tree | 7ba8caccde57c938485038d48e9e4235080e6ece /test | |
parent | d134fda0c05640992941087139316d2b8fb3f816 (diff) | |
download | dexon-solidity-ab178b8bac600562b9dadc529846a263efc14463.tar dexon-solidity-ab178b8bac600562b9dadc529846a263efc14463.tar.gz dexon-solidity-ab178b8bac600562b9dadc529846a263efc14463.tar.bz2 dexon-solidity-ab178b8bac600562b9dadc529846a263efc14463.tar.lz dexon-solidity-ab178b8bac600562b9dadc529846a263efc14463.tar.xz dexon-solidity-ab178b8bac600562b9dadc529846a263efc14463.tar.zst dexon-solidity-ab178b8bac600562b9dadc529846a263efc14463.zip |
Mention 'transfer' in warning about unchecked 'send'.
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 27791775..97a82f00 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -4420,7 +4420,7 @@ BOOST_AUTO_TEST_CASE(unused_return_value_send) } } )"; - CHECK_WARNING(text, "Return value of low-level calls not used"); + CHECK_WARNING(text, "Failure condition of 'send' ignored. Consider using 'transfer' instead."); } BOOST_AUTO_TEST_CASE(unused_return_value_call) |