aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-09 21:49:56 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-09 21:49:56 +0800
commit6d4cb28b9d08df574e7f335196dfdd82f02a74c3 (patch)
treed496b61fc48c592ce71e3fb52866a9dc46128a4c /test/exchange_wrapper_test.ts
parent0d4bd7180a2d49326b2c66ad4cf080f65bccbb71 (diff)
downloaddexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.gz
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.bz2
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.lz
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.xz
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.tar.zst
dexon-sol-tools-6d4cb28b9d08df574e7f335196dfdd82f02a74c3.zip
Address feedback
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r--test/exchange_wrapper_test.ts2
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);
});
});