From 4ca7e90e0c9dfbff577626b373f8c3a23c984001 Mon Sep 17 00:00:00 2001 From: Taylor Brent Date: Wed, 9 Aug 2023 12:06:58 -0400 Subject: [PATCH] lt => lte --- test/Furnace.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Furnace.test.ts b/test/Furnace.test.ts index c1030d4bb..15776210b 100644 --- a/test/Furnace.test.ts +++ b/test/Furnace.test.ts @@ -457,7 +457,7 @@ describe(`FurnaceP${IMPLEMENTATION} contract`, () => { // Should have updated lastPayout + lastPayoutBal expect(await furnace.lastPayout()).to.be.closeTo(await getLatestBlockTimestamp(), 12) - expect(await furnace.lastPayout()).to.be.lt(await getLatestBlockTimestamp()) + expect(await furnace.lastPayout()).to.be.lte(await getLatestBlockTimestamp()) expect(await furnace.lastPayoutBal()).to.equal(bn('10e18')) // Advance 99 periods -- should melt at old ratio @@ -472,7 +472,7 @@ describe(`FurnaceP${IMPLEMENTATION} contract`, () => { // Should have updated lastPayout + lastPayoutBal expect(await furnace.lastPayout()).to.be.closeTo(await getLatestBlockTimestamp(), 12) - expect(await furnace.lastPayout()).to.be.lt(await getLatestBlockTimestamp()) + expect(await furnace.lastPayout()).to.be.lte(await getLatestBlockTimestamp()) expect(await furnace.lastPayoutBal()).to.equal(bn('10e18')) // no change // Unfreeze and advance 1 period @@ -482,7 +482,7 @@ describe(`FurnaceP${IMPLEMENTATION} contract`, () => { // Should have updated lastPayout + lastPayoutBal expect(await furnace.lastPayout()).to.be.closeTo(await getLatestBlockTimestamp(), 12) - expect(await furnace.lastPayout()).to.be.lt(await getLatestBlockTimestamp()) + expect(await furnace.lastPayout()).to.be.lte(await getLatestBlockTimestamp()) expect(await furnace.lastPayoutBal()).to.equal(bn('9.999e18')) }) })