Skip to content

Commit

Permalink
fix: make bulloak happy
Browse files Browse the repository at this point in the history
  • Loading branch information
0xteddybear committed Jul 22, 2024
1 parent c4e89a2 commit 88037dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/BCoWPool/BCoWPool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract BCoWPool is BCoWPoolBase {
assertEq(pool.APP_DATA(), _appData);
}

function test__afterFinalize_WhenCalled() external {
function test__afterFinalizeWhenCalled() external {
// it calls approve on every bound token
vm.expectCall(tokens[0], abi.encodeCall(IERC20.approve, (vaultRelayer, type(uint256).max)));
vm.expectCall(tokens[1], abi.encodeCall(IERC20.approve, (vaultRelayer, type(uint256).max)));
Expand All @@ -58,12 +58,12 @@ contract BCoWPool is BCoWPoolBase {
bCoWPool.finalize();
}

function test__afterFinalize_WhenFactorysLogBCoWPoolDoesNotRevert() external {
function test__afterFinalizeWhenFactorysLogBCoWPoolDoesNotRevert() external {
// it returns
bCoWPool.call__afterFinalize();
}

function test__afterFinalize_WhenFactorysLogBCoWPoolReverts(bytes memory revertData) external {
function test__afterFinalizeWhenFactorysLogBCoWPoolReverts(bytes memory revertData) external {
vm.mockCallRevert(address(this), abi.encodeCall(IBCoWFactory.logBCoWPool, ()), revertData);
// it emits a COWAMMPoolCreated event
vm.expectEmit(address(bCoWPool));
Expand Down

0 comments on commit 88037dc

Please sign in to comment.