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/tight_packing_literals_fine.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/tight_packing_literals_fine.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/tight_packing_literals_fine.sol | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol b/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol index 27665b52..7bbc36d0 100644 --- a/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol +++ b/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol @@ -1,13 +1,4 @@ contract C { - function f() pure public returns (bytes32) { - return keccak256(uint8(1)); - } - function h() pure public returns (bytes32) { - return sha256(uint8(1)); - } - function j() pure public returns (bytes32) { - return ripemd160(uint8(1)); - } function k() pure public returns (bytes) { return abi.encodePacked(uint8(1)); } @@ -16,9 +7,3 @@ contract C { } } // ---- -// Warning: (77-96): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data. -// Warning: (77-96): The provided argument of type uint8 is not implicitly convertible to expected type bytes memory. -// Warning: (168-184): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data. -// Warning: (168-184): The provided argument of type uint8 is not implicitly convertible to expected type bytes memory. -// Warning: (256-275): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data. -// Warning: (256-275): The provided argument of type uint8 is not implicitly convertible to expected type bytes memory. |