Skip to content

Commit

Permalink
test(QuestBudget): refactor comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mmackz committed Sep 11, 2024
1 parent 53fdde7 commit 8f410ae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/QuestBudget.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1081,11 +1081,9 @@ contract QuestBudgetTest is Test, TestUtils, IERC1155Receiver {

// Set an initial valid management fee (5%)
questBudget.setManagementFee(500);

// Expect the next transaction to revert with the specified error message
vm.expectRevert("Fee cannot exceed 100%");


// Attempt to set a management fee that exceeds 100%
vm.expectRevert("Fee cannot exceed 100%");
questBudget.setManagementFee(10001);

// Assert that the management fee remains unchanged at 5%
Expand Down

0 comments on commit 8f410ae

Please sign in to comment.