diff options
author | chriseth <chris@ethereum.org> | 2018-05-23 21:39:26 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-25 23:17:18 +0800 |
commit | 86a720b96a45ce1b59ab1038e7bb465f9a566189 (patch) | |
tree | 7b609cdfc2912244a8063a34360b4150ef3a8c07 /test/libsolidity/syntaxTests/deprecated_functions.sol | |
parent | 23c414200570b8751bde3fbcb3a3f7105e9ad8f8 (diff) | |
download | dexon-solidity-86a720b96a45ce1b59ab1038e7bb465f9a566189.tar.gz dexon-solidity-86a720b96a45ce1b59ab1038e7bb465f9a566189.tar.zst dexon-solidity-86a720b96a45ce1b59ab1038e7bb465f9a566189.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 99ca4542..62dfcff9 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(); + bytes32 x = sha3(""); x; } function g() public { @@ -8,5 +8,5 @@ contract test { } } // ---- -// TypeError: (58-64): "sha3" has been deprecated in favour of "keccak256" -// TypeError: (99-150): "suicide" has been deprecated in favour of "selfdestruct" +// TypeError: (58-66): "sha3" has been deprecated in favour of "keccak256" +// TypeError: (101-152): "suicide" has been deprecated in favour of "selfdestruct" |