From 7c3b3e8dd594c3c25081ba553463cb1537c3b3e8 Mon Sep 17 00:00:00 2001 From: clabby Date: Thu, 23 Feb 2023 04:12:09 -0500 Subject: [PATCH] Lint `testdata` --- testdata/cheats/ExpectCall.t.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testdata/cheats/ExpectCall.t.sol b/testdata/cheats/ExpectCall.t.sol index 2f32def93fbd..40aba6b6b176 100644 --- a/testdata/cheats/ExpectCall.t.sol +++ b/testdata/cheats/ExpectCall.t.sol @@ -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) { @@ -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 {