mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests.
This commit is contained in:
@@ -173,7 +173,7 @@ BOOST_AUTO_TEST_CASE(store_keccak256)
|
||||
char const* sourceCode = R"(
|
||||
contract test {
|
||||
bytes32 public shaValue;
|
||||
constructor() public {
|
||||
constructor() {
|
||||
shaValue = keccak256(abi.encodePacked(this));
|
||||
}
|
||||
}
|
||||
@@ -187,7 +187,7 @@ BOOST_AUTO_TEST_CASE(updating_store)
|
||||
contract test {
|
||||
uint data;
|
||||
uint data2;
|
||||
constructor() public {
|
||||
constructor() {
|
||||
data = 1;
|
||||
data = 2;
|
||||
data2 = 0;
|
||||
|
||||
Reference in New Issue
Block a user