diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-09 21:49:56 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-09 21:49:56 +0800 |
commit | 6d4cb28b9d08df574e7f335196dfdd82f02a74c3 (patch) | |
tree | d496b61fc48c592ce71e3fb52866a9dc46128a4c /test | |
parent | 0d4bd7180a2d49326b2c66ad4cf080f65bccbb71 (diff) | |
download | dexon-0x-contracts-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.gz dexon-0x-contracts-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.zst dexon-0x-contracts-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.zip |
Address feedback
Diffstat (limited to 'test')
-rw-r--r-- | test/exchange_wrapper_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 3ae8515e2..f159de759 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -421,7 +421,7 @@ describe('ExchangeWrapper', () => { const filledAmount = await zeroEx.exchange.getFilledTakerAmountAsync(signedOrderHashHex); const anotherFilledAmount = await zeroEx.exchange.getFilledTakerAmountAsync(anotherOrderHashHex); expect(filledAmount).to.be.bignumber.equal(fillableAmount); - const remainingFillAmount = fillUpToAmount.minus(filledAmount); + const remainingFillAmount = fillableAmount.minus(1); expect(anotherFilledAmount).to.be.bignumber.equal(remainingFillAmount); }); }); |