diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-03-24 06:33:49 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | 3541f5e1dac692fa12fafd4822dc98aa7afe5c1c (patch) | |
tree | ceb98de2233188ac0aad1f04cfa25a1290198290 /packages/contracts/test/exchange | |
parent | 8f809e3a292c55e0f6440f9cf7c8746ede7ad583 (diff) | |
download | dexon-sol-tools-3541f5e1dac692fa12fafd4822dc98aa7afe5c1c.tar.gz dexon-sol-tools-3541f5e1dac692fa12fafd4822dc98aa7afe5c1c.tar.zst dexon-sol-tools-3541f5e1dac692fa12fafd4822dc98aa7afe5c1c.zip |
Separate filled/cancelled errors
Diffstat (limited to 'packages/contracts/test/exchange')
-rw-r--r-- | packages/contracts/test/exchange/core.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts index 3919d43d8..4dfe3df5d 100644 --- a/packages/contracts/test/exchange/core.ts +++ b/packages/contracts/test/exchange/core.ts @@ -601,7 +601,7 @@ describe('Exchange', () => { expect(res.logs).to.have.length(1); const log = logDecoder.decodeLogOrThrow(res.logs[0]) as LogWithDecodedArgs<LogErrorContractEventArgs>; const errCode = log.args.errorId; - expect(errCode).to.be.equal(ExchangeContractErrs.ERROR_ORDER_FULLY_FILLED_OR_CANCELLED); + expect(errCode).to.be.equal(ExchangeContractErrs.ERROR_ORDER_FULLY_FILLED); }); }); @@ -663,7 +663,7 @@ describe('Exchange', () => { expect(res.logs).to.have.length(1); const log = logDecoder.decodeLogOrThrow(res.logs[0]) as LogWithDecodedArgs<LogErrorContractEventArgs>; const errCode = log.args.errorId; - expect(errCode).to.be.equal(ExchangeContractErrs.ERROR_ORDER_FULLY_FILLED_OR_CANCELLED); + expect(errCode).to.be.equal(ExchangeContractErrs.ERROR_ORDER_CANCELLED); }); it('should log error if order is expired', async () => { |