aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-22 20:13:44 +0800
committerFabio Berger <me@fabioberger.com>2018-06-22 20:13:44 +0800
commit76fd7f47ebfb48d04faece04af0db3ab5277d864 (patch)
treeab5ad8ded80ba0ccd6cc1b0da9119371b314a98b
parentfbf840cb68a53b1afecb3cc542deb52769d40aa8 (diff)
downloaddexon-sol-tools-76fd7f47ebfb48d04faece04af0db3ab5277d864.tar
dexon-sol-tools-76fd7f47ebfb48d04faece04af0db3ab5277d864.tar.gz
dexon-sol-tools-76fd7f47ebfb48d04faece04af0db3ab5277d864.tar.bz2
dexon-sol-tools-76fd7f47ebfb48d04faece04af0db3ab5277d864.tar.lz
dexon-sol-tools-76fd7f47ebfb48d04faece04af0db3ab5277d864.tar.xz
dexon-sol-tools-76fd7f47ebfb48d04faece04af0db3ab5277d864.tar.zst
dexon-sol-tools-76fd7f47ebfb48d04faece04af0db3ab5277d864.zip
Fix tests
-rw-r--r--packages/contracts/test/exchange/core.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index 32b3fffd4..d35ff7dee 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -817,7 +817,7 @@ describe('Exchange core', () => {
const takerAssetFillAmount = signedOrder.takerAssetAmount;
return expectRevertReasonOrAlwaysFailingTransactionAsync(
exchangeWrapper.fillOrderAsync(signedOrder, takerAddress, { takerAssetFillAmount }),
- ContractLibErrors.OrderUnfillable,
+ ContractLibErrors.InvalidAmount,
);
});
@@ -840,7 +840,7 @@ describe('Exchange core', () => {
const takerAssetFillAmount = signedOrder.takerAssetAmount;
return expectRevertReasonOrAlwaysFailingTransactionAsync(
exchangeWrapper.fillOrderAsync(signedOrder, takerAddress, { takerAssetFillAmount }),
- ContractLibErrors.OrderUnfillable,
+ ContractLibErrors.InvalidAmount,
);
});