Skip to content

Commit

Permalink
fix error comments
Browse files Browse the repository at this point in the history
  • Loading branch information
itirabasso committed Jan 24, 2023
1 parent d378fad commit 4177c5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/test/AludelV3.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ contract AludelV3Test is Test {
vm.startPrank(admin.addr());
rewardToken.approve(address(aludel), REWARD_AMOUNT * 5);

// 1. Admin funds 600 eth * 5 for 1 minute
// 1. Admin funds 600 eth for 1 minute
aludel.fund(REWARD_AMOUNT, SCHEDULE_DURATION);
data = aludel.getAludelData();
assertEq(data.rewardSharesOutstanding, REWARD_AMOUNT * BASE_SHARES_PER_WEI);
Expand All @@ -159,7 +159,7 @@ contract AludelV3Test is Test {
assertEq(data.rewardSharesOutstanding, REWARD_AMOUNT * BASE_SHARES_PER_WEI);
assertEq(aludel.calculateSharesLocked(data.rewardSchedules, block.timestamp), 0);

// 3. Admin funds 600 eth * 5 for 1 minute
// 3. Admin funds 600 eth for 1 minute
aludel.fund(REWARD_AMOUNT, SCHEDULE_DURATION);
data = aludel.getAludelData();
assertEq(data.rewardSharesOutstanding, REWARD_AMOUNT * BASE_SHARES_PER_WEI * 2);
Expand All @@ -179,7 +179,7 @@ contract AludelV3Test is Test {
0
);

// 5. Admin funds 600 eth * 5 for 1 minute
// 5. Admin funds 600 eth for 1 minute
// 1 minute elapses
aludel.fund(REWARD_AMOUNT, SCHEDULE_DURATION);
vm.warp(block.timestamp + SCHEDULE_DURATION);
Expand All @@ -192,8 +192,8 @@ contract AludelV3Test is Test {
0
);

// 6. Admin funds 600 eth * 5 for 1 minute
// Admin funds 600 eth * 5 for 2 minute
// 6. Admin funds 600 eth for 1 minute
// Admin funds 600 eth for 2 minute
// 1 minute elapses
aludel.fund(REWARD_AMOUNT, SCHEDULE_DURATION);
aludel.fund(REWARD_AMOUNT, SCHEDULE_DURATION * 2);
Expand Down

0 comments on commit 4177c5a

Please sign in to comment.