diff options
author | chriseth <chris@ethereum.org> | 2018-05-15 18:53:23 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-05-16 15:48:03 +0800 |
commit | 203475ef020d8bf0c0334e51580dc798185b2359 (patch) | |
tree | 046c024b983ff642003157a25dccba84b503845c /test/libsolidity/syntaxTests/deprecated_functions.sol | |
parent | 894122c508c4de07553c7e2908ae36821e812a9f (diff) | |
download | dexon-solidity-203475ef020d8bf0c0334e51580dc798185b2359.tar.gz dexon-solidity-203475ef020d8bf0c0334e51580dc798185b2359.tar.zst dexon-solidity-203475ef020d8bf0c0334e51580dc798185b2359.zip |
Adjust tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/deprecated_functions.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/deprecated_functions.sol | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/deprecated_functions.sol b/test/libsolidity/syntaxTests/deprecated_functions.sol index 57ee484a..9df2b43c 100644 --- a/test/libsolidity/syntaxTests/deprecated_functions.sol +++ b/test/libsolidity/syntaxTests/deprecated_functions.sol @@ -1,6 +1,6 @@ contract test { function f() pure public { - bytes32 x = sha3(uint8(1)); + bytes32 x = sha3(); x; } function g() public { @@ -8,5 +8,5 @@ contract test { } } // ---- -// Warning: (58-72): "sha3" has been deprecated in favour of "keccak256" -// Warning: (107-117): "suicide" has been deprecated in favour of "selfdestruct" +// Warning: (58-64): "sha3" has been deprecated in favour of "keccak256" +// Warning: (99-109): "suicide" has been deprecated in favour of "selfdestruct" |