diff --git a/implementation/test/TBTCSystemTest.js b/implementation/test/TBTCSystemTest.js index 9d5961566..5adac8f38 100644 --- a/implementation/test/TBTCSystemTest.js +++ b/implementation/test/TBTCSystemTest.js @@ -100,13 +100,21 @@ contract('TBTCSystem', (accounts) => { expect(eventList[0].returnValues._lotSizes).to.eql(['100000000', '1000000']) // deep equality check }) - it('reverts if lot size array does not contain a 1BTC lot size', async () => { + it('reverts if lot size array is empty', async () => { const lotSizes = [] await expectThrow( tbtcSystem.setLotSizes(lotSizes), 'Lot size array must always contain 1BTC' ) }) + + it('reverts if lot size array does not contain a 1BTC lot size', async () => { + const lotSizes = [10**7] + await expectThrow( + tbtcSystem.setLotSizes(lotSizes), + 'Lot size array must always contain 1BTC' + ) + }) }) describe('emergencyPauseNewDeposits', async () => {