aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-02-02 10:43:04 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-03 01:41:19 +0800
commit05aae368132a81ddb9fd6a04ac5b0ff1cbb24691 (patch)
tree6fbea107aa30cbef31329bfcb68223dd8ab142d8 /packages/contracts/test/exchange
parentd5d6079b673d0a6d311f349dba291da18c846d9e (diff)
downloaddexon-sol-tools-05aae368132a81ddb9fd6a04ac5b0ff1cbb24691.tar
dexon-sol-tools-05aae368132a81ddb9fd6a04ac5b0ff1cbb24691.tar.gz
dexon-sol-tools-05aae368132a81ddb9fd6a04ac5b0ff1cbb24691.tar.bz2
dexon-sol-tools-05aae368132a81ddb9fd6a04ac5b0ff1cbb24691.tar.lz
dexon-sol-tools-05aae368132a81ddb9fd6a04ac5b0ff1cbb24691.tar.xz
dexon-sol-tools-05aae368132a81ddb9fd6a04ac5b0ff1cbb24691.tar.zst
dexon-sol-tools-05aae368132a81ddb9fd6a04ac5b0ff1cbb24691.zip
Update contract versions, fix tests
Diffstat (limited to 'packages/contracts/test/exchange')
-rw-r--r--packages/contracts/test/exchange/core.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index e9182dd1b..10816d2d6 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -678,7 +678,7 @@ describe('Exchange', () => {
exWrapper.fillOrderAsync(order, taker, {
shouldThrowOnInsufficientBalanceOrAllowance: false,
}),
- ).to.be.rejectedWith(constants.INVALID_OPCODE);
+ ).to.be.rejectedWith(constants.REVERT);
});
it('should not change balances if an order is expired', async () => {