Skip to content

Commit

Permalink
test: end prank
Browse files Browse the repository at this point in the history
  • Loading branch information
yan-man committed Oct 15, 2024
1 parent c943e73 commit 0201eea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/TestGsmConverter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -544,13 +544,14 @@ contract TestGsmConverter is TestGhoBase {
address(USDC_TOKEN)
);

vm.prank(FAUCET);
vm.startPrank(FAUCET);
USDC_TOKEN.mint(ALICE, DEFAULT_GSM_BUIDL_AMOUNT);

vm.startPrank(ALICE);
USDC_TOKEN.approve(address(gsmConverter), DEFAULT_GSM_BUIDL_AMOUNT);
vm.expectRevert('INVALID_AMOUNT');
gsmConverter.sellAsset(DEFAULT_GSM_BUIDL_AMOUNT, ALICE);
vm.stopPrank();
}

function testRevertSellAssetInvalidRemainingGhoBalance() public {
Expand Down

0 comments on commit 0201eea

Please sign in to comment.