diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-28 23:04:02 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-28 23:04:02 +0800 |
commit | 4a524a5f275b80d2e5122ee8a055cf4cc737e32c (patch) | |
tree | 6df0c8aab5f8c28145628a98b50909b9cbab0395 /packages/contracts/test/exchange | |
parent | ee1e50a7225882bb0c97408100c85a199611fadb (diff) | |
parent | 9fd46c790097a64c29df816abf83a05cb6acccee (diff) | |
download | dexon-sol-tools-4a524a5f275b80d2e5122ee8a055cf4cc737e32c.tar dexon-sol-tools-4a524a5f275b80d2e5122ee8a055cf4cc737e32c.tar.gz dexon-sol-tools-4a524a5f275b80d2e5122ee8a055cf4cc737e32c.tar.bz2 dexon-sol-tools-4a524a5f275b80d2e5122ee8a055cf4cc737e32c.tar.lz dexon-sol-tools-4a524a5f275b80d2e5122ee8a055cf4cc737e32c.tar.xz dexon-sol-tools-4a524a5f275b80d2e5122ee8a055cf4cc737e32c.tar.zst dexon-sol-tools-4a524a5f275b80d2e5122ee8a055cf4cc737e32c.zip |
Merge branch 'dev-dropdown' into doc-overview-page
* dev-dropdown:
Update to latest react-shared
Use translation helper
Use generatic ObjectMap type
fix(contracts): Catch cases where the actual error differs from the expected error (#1032)
Add clarifying comments
Remove redundant mstores from fillOrderNoThrow
fix(contracts): Use correct error message for division by zero
Diffstat (limited to 'packages/contracts/test/exchange')
-rw-r--r-- | packages/contracts/test/exchange/internal.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/contracts/test/exchange/internal.ts b/packages/contracts/test/exchange/internal.ts index 2521665c2..de381fca3 100644 --- a/packages/contracts/test/exchange/internal.ts +++ b/packages/contracts/test/exchange/internal.ts @@ -67,9 +67,7 @@ describe('Exchange core internal functions', () => { overflowErrorForSendTransaction = new Error( await getRevertReasonOrErrorMessageForSendTransactionAsync(RevertReason.Uint256Overflow), ); - divisionByZeroErrorForCall = new Error( - await getRevertReasonOrErrorMessageForSendTransactionAsync(RevertReason.DivisionByZero), - ); + divisionByZeroErrorForCall = new Error(RevertReason.DivisionByZero); invalidOpcodeErrorForCall = new Error(await getInvalidOpcodeErrorMessageForCallAsync()); }); // Note(albrow): Don't forget to add beforeEach and afterEach calls to reset |