Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
samalws-tob committed Jan 11, 2024
1 parent bad2d74 commit dcbc558
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/solidity/basic/immutable-2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import "./immutable-3.sol";

contract C {
D d;
constructor() {
constructor() public {
d = new D(0);
}
function set(uint256 n) external {
d = new D(n);
d.set();
}
function echidna_test() public returns (bool) {
function echidna_test() external returns (bool) {
return d.state();
}
}
2 changes: 1 addition & 1 deletion tests/solidity/basic/immutable-3.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
contract D {
uint256 public immutable n;
bool public state = true;
constructor(uint256 _n) {
constructor(uint256 _n) public {
n = _n;
}
function set() external {
Expand Down

0 comments on commit dcbc558

Please sign in to comment.