Skip to content

Commit

Permalink
Lint testdata
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby committed Feb 23, 2023
1 parent e09e9a8 commit 7c3b3e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testdata/cheats/ExpectCall.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ contract NestedContract {
}

function forwardPay() public payable returns (uint256) {
return inner.pay{ gas: 50_000, value: 1 }(1);
return inner.pay{gas: 50_000, value: 1}(1);
}

function addHardGasLimit() public view returns (uint256) {
return inner.add{ gas: 50_000 }(1, 1);
return inner.add{gas: 50_000}(1, 1);
}

function hello() public pure returns (string memory) {
Expand Down Expand Up @@ -118,7 +118,7 @@ contract ExpectCallTest is DSTest {
NestedContract target = new NestedContract(inner);

cheats.expectCall(address(inner), 1, 50_000, abi.encodeWithSelector(inner.pay.selector, 1));
target.forwardPay{ value: 1 }();
target.forwardPay{value: 1}();
}

function testExpectCallWithNoValueAndGas() public {
Expand Down

0 comments on commit 7c3b3e8

Please sign in to comment.