mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjust tests.
This commit is contained in:
committed by
Alex Beregszaszi
parent
23c4142005
commit
86a720b96a
@@ -3,13 +3,13 @@ contract C {
|
||||
address(this).transfer(1);
|
||||
require(address(this).send(2));
|
||||
selfdestruct(address(this));
|
||||
require(address(this).delegatecall());
|
||||
require(address(this).call());
|
||||
require(address(this).delegatecall(""));
|
||||
require(address(this).call(""));
|
||||
}
|
||||
function g() pure public {
|
||||
bytes32 x = keccak256("abc");
|
||||
bytes32 y = sha256("abc");
|
||||
address z = ecrecover(1, 2, 3, 4);
|
||||
address z = ecrecover(bytes32(1), uint8(2), bytes32(3), bytes32(4));
|
||||
require(true);
|
||||
assert(true);
|
||||
x; y; z;
|
||||
|
||||
Reference in New Issue
Block a user