aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange/transactions.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-06-07 04:10:59 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-06-07 04:10:59 +0800
commit76f01511a376fa72330d8847035491f0443e1668 (patch)
tree94d038def6749418c21c63af67f5dae4fc64ab72 /packages/contracts/test/exchange/transactions.ts
parentdd8727d3aebf1f4b552f8bad921b92107ad22936 (diff)
downloaddexon-sol-tools-76f01511a376fa72330d8847035491f0443e1668.tar
dexon-sol-tools-76f01511a376fa72330d8847035491f0443e1668.tar.gz
dexon-sol-tools-76f01511a376fa72330d8847035491f0443e1668.tar.bz2
dexon-sol-tools-76f01511a376fa72330d8847035491f0443e1668.tar.lz
dexon-sol-tools-76f01511a376fa72330d8847035491f0443e1668.tar.xz
dexon-sol-tools-76f01511a376fa72330d8847035491f0443e1668.tar.zst
dexon-sol-tools-76f01511a376fa72330d8847035491f0443e1668.zip
Update contracts tests after rebase
Diffstat (limited to 'packages/contracts/test/exchange/transactions.ts')
-rw-r--r--packages/contracts/test/exchange/transactions.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/exchange/transactions.ts b/packages/contracts/test/exchange/transactions.ts
index 4f1aba4a7..e64cb68f5 100644
--- a/packages/contracts/test/exchange/transactions.ts
+++ b/packages/contracts/test/exchange/transactions.ts
@@ -195,8 +195,8 @@ describe('Exchange transactions', () => {
it('should cancel the order when signed by maker and called by sender', async () => {
await exchangeWrapper.executeTransactionAsync(signedTx, senderAddress);
- return expect(exchangeWrapper.fillOrderAsync(signedOrder, senderAddress)).to.be.rejectedWith(
- constants.REVERT,
+ return expectRevertOrAlwaysFailingTransactionAsync(
+ exchangeWrapper.fillOrderAsync(signedOrder, senderAddress),
);
});
});