Skip to content

Commit

Permalink
Use assert.equal
Browse files Browse the repository at this point in the history
  • Loading branch information
MiksuJak committed Apr 24, 2024
1 parent 7e55052 commit 60c987f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/trinity/BorrowerOperations_FeesTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ contract("BorrowerOperations_Fees", async accounts => {

const treasuryBalanceAfter = await debtToken.balanceOf(treasury)

assert.isTrue(treasuryBalanceBefore.eq(treasuryBalanceAfter))
assert.equal(treasuryBalanceBefore.toString(), treasuryBalanceAfter.toString())
})

it('skips due fee payment when called before collectVesselFee', async () => {
Expand All @@ -240,7 +240,7 @@ contract("BorrowerOperations_Fees", async accounts => {

const treasuryBalanceAfter = await debtToken.balanceOf(treasury)

assert.isTrue(treasuryBalanceBefore.eq(treasuryBalanceAfter))
assert.equal(treasuryBalanceBefore.toString(), treasuryBalanceAfter.toString())
})
})

Expand Down

0 comments on commit 60c987f

Please sign in to comment.