Skip to content

Commit

Permalink
Remove extra empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
RickGriff committed Feb 1, 2024
1 parent e52315a commit cbe9d80
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions contracts/src/test/interestRateBasic.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ contract InterestRateBasic is DevTestSetup {
assertEq(sortedTroves.getNext(D), B);
assertEq(sortedTroves.getPrev(D), ZERO_ADDRESS); // head


// C opens. Expect to be inserted between B and D
openTroveNoHints100pctMaxFee(C, 2 ether, 2000e18, interestRate_C);
assertEq(sortedTroves.getNext(C), B);
Expand Down Expand Up @@ -102,7 +101,6 @@ contract InterestRateBasic is DevTestSetup {
assertEq(troveManager.getTroveAnnualInterestRate(B), 5e17);
assertEq(troveManager.getTroveAnnualInterestRate(C), 5e17);


changeInterestRateNoHints(A, 0);
assertEq(troveManager.getTroveAnnualInterestRate(A), 0);

Expand Down Expand Up @@ -149,7 +147,6 @@ contract InterestRateBasic is DevTestSetup {
assertEq(sortedTroves.getNext(D), E);
assertEq(sortedTroves.getPrev(D), ZERO_ADDRESS);


// A sets rate to 6%, moves up 2 positions - expect [C:0%, B:2%, E:5%, A:6%, D:7%]
changeInterestRateNoHints(A, 6e17);
assertEq(sortedTroves.getNext(A), E);
Expand All @@ -166,7 +163,6 @@ contract InterestRateBasic is DevTestSetup {
openTroveNoHints100pctMaxFee(D, 2 ether, 2000e18, 4e17);
openTroveNoHints100pctMaxFee(E, 2 ether, 2000e18, 5e17);


// Check A's neighbors
assertEq(sortedTroves.getNext(A), ZERO_ADDRESS); // tail
assertEq(sortedTroves.getPrev(A), B);
Expand All @@ -178,7 +174,6 @@ contract InterestRateBasic is DevTestSetup {
assertEq(sortedTroves.getNext(A), ZERO_ADDRESS); // tail
assertEq(sortedTroves.getPrev(A), B);


// Check C's neighbors
assertEq(sortedTroves.getNext(C), B);
assertEq(sortedTroves.getPrev(C), D);
Expand Down

0 comments on commit cbe9d80

Please sign in to comment.