Skip to content

Commit

Permalink
lint gang
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Sep 4, 2024
1 parent 4df1b23 commit a08a5f1
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions test/position-managers/PositionManager.multicall.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -422,14 +422,8 @@ contract PositionManagerMulticallTest is Test, Permit2SignatureHelpers, PosmTest
lpm.ownerOf(tokenId); // token does not exist

bytes[] memory results = lpm.multicall(calls);
assertEq(
results[0],
abi.encode(abi.encodeWithSelector(InvalidNonce.selector))
);
assertEq(
results[1],
abi.encode(abi.encodeWithSelector(InvalidNonce.selector))
);
assertEq(results[0], abi.encode(abi.encodeWithSelector(InvalidNonce.selector)));
assertEq(results[1], abi.encode(abi.encodeWithSelector(InvalidNonce.selector)));

assertEq(lpm.ownerOf(tokenId), charlie);
}
Expand Down Expand Up @@ -479,10 +473,7 @@ contract PositionManagerMulticallTest is Test, Permit2SignatureHelpers, PosmTest
lpm.ownerOf(tokenId); // token does not exist

bytes[] memory results = lpm.multicall(calls);
assertEq(
results[0],
abi.encode(abi.encodeWithSelector(InvalidNonce.selector))
);
assertEq(results[0], abi.encode(abi.encodeWithSelector(InvalidNonce.selector)));

assertEq(lpm.ownerOf(tokenId), charlie);
}
Expand Down

0 comments on commit a08a5f1

Please sign in to comment.