typos fixes in the tests; just function name and change startPrank to prank

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-05-08 02:06:56 +03:00
parent b8a11ee3c1
commit 5b8eb6c6ee
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB

View File

@ -310,7 +310,7 @@ contract GhostBondDepositoryTest is Test {
depository.deposit(0, amount, INITIAL_PRICE, ALICE, ALICE); depository.deposit(0, amount, INITIAL_PRICE, ALICE, ALICE);
} }
function test_shouldNotRedeemAfterVested() public { function test_shouldNotRedeemImmediately() public {
uint256 balance = ftso.balanceOf(ALICE); uint256 balance = ftso.balanceOf(ALICE);
uint256 amount = 10_000 * 1e18; // 10,000 uint256 amount = 10_000 * 1e18; // 10,000
vm.startPrank(ALICE); vm.startPrank(ALICE);
@ -329,9 +329,9 @@ contract GhostBondDepositoryTest is Test {
staking.setWarmupPeriod(1); staking.setWarmupPeriod(1);
vm.stopPrank(); vm.stopPrank();
vm.startPrank(ALICE); vm.prank(ALICE);
depository.deposit(0, amount, type(uint256).max, ALICE, ALICE); depository.deposit(0, amount, type(uint256).max, ALICE, ALICE);
vm.startPrank(BOB); vm.prank(BOB);
depository.deposit(0, amount, type(uint256).max, BOB, BOB); depository.deposit(0, amount, type(uint256).max, BOB, BOB);
skip(DEPOSIT_INTERVAL); skip(DEPOSIT_INTERVAL);