Skip to content

Commit

Permalink
Test: assert -> assertFalse
Browse files Browse the repository at this point in the history
  • Loading branch information
Quazia committed Mar 27, 2024
1 parent bf046cd commit fa2b443
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/QuestClaimable.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ contract TestQuestClaimable is Test, Errors, Events, TestUtils {
vm.recordLogs();
vm.expectRevert(IQuestFactory.Deprecated.selector);
(bool success, ) = questAddress.call{value: MINT_FEE}(payload);
assert(success, "claim failed");
assertFalse(success, "claim failed");
vm.stopPrank();
}

Expand Down Expand Up @@ -142,7 +142,7 @@ contract TestQuestClaimable is Test, Errors, Events, TestUtils {
vm.recordLogs();
vm.expectRevert(IQuestFactory.Deprecated.selector);
(bool success, ) = questAddress.call{value: MINT_FEE}(payload);
assert(success, "claim failed");
assertFalse(success, "claim failed");
vm.stopPrank();
}

Expand Down Expand Up @@ -184,7 +184,7 @@ contract TestQuestClaimable is Test, Errors, Events, TestUtils {
vm.recordLogs();
vm.expectRevert(IQuestFactory.Deprecated.selector);
(bool success, ) = questAddress.call{value: MINT_FEE}(payload);
assert(success, "claim failed");
assertFalse(success, "claim failed");
vm.stopPrank();
}

Expand Down Expand Up @@ -224,7 +224,7 @@ contract TestQuestClaimable is Test, Errors, Events, TestUtils {
vm.recordLogs();
vm.expectRevert(IQuestFactory.Deprecated.selector);
(bool success, ) = questAddress.call{value: MINT_FEE}(payload);
assert(success, "claim failed");
assertFalse(success, "claim failed");
vm.stopPrank();
}

Expand Down

0 comments on commit fa2b443

Please sign in to comment.