Skip to content

Commit

Permalink
test: fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ChefMist committed Nov 15, 2024
1 parent e7f914c commit 165bb50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/V3ToV4Migration.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ contract V3ToV4MigrationTest is BasePancakeSwapV4, OldVersionHelper, BinLiquidit
);

// verify revert for invalid actions
vm.expectRevert(V3ToV4Migrator.BlacklistedAction.selector);
vm.expectRevert(V3ToV4Migrator.OnlyMintAllowed.selector);
router.execute(commands, inputs);
}
}
Expand Down Expand Up @@ -344,7 +344,7 @@ contract V3ToV4MigrationTest is BasePancakeSwapV4, OldVersionHelper, BinLiquidit
);

// verify revert for invalid actions
vm.expectRevert(V3ToV4Migrator.BlacklistedAction.selector);
vm.expectRevert(V3ToV4Migrator.OnlyAddLiqudityAllowed.selector);
router.execute(commands, inputs);
}
}
Expand Down

0 comments on commit 165bb50

Please sign in to comment.