aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange/internal.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-17 22:36:59 +0800
committerGitHub <noreply@github.com>2018-09-17 22:36:59 +0800
commitfe38adfa0869661ecd5f263222c92689cd1621a7 (patch)
treed95427265a1fe31ecb39180ed969fd372cec54c8 /packages/contracts/test/exchange/internal.ts
parentf4a4fefe422a5b2140d5bb394a7f06f842352c69 (diff)
parent92ee7c2194904235463fe525187a54c22fe1120a (diff)
downloaddexon-sol-tools-fe38adfa0869661ecd5f263222c92689cd1621a7.tar
dexon-sol-tools-fe38adfa0869661ecd5f263222c92689cd1621a7.tar.gz
dexon-sol-tools-fe38adfa0869661ecd5f263222c92689cd1621a7.tar.bz2
dexon-sol-tools-fe38adfa0869661ecd5f263222c92689cd1621a7.tar.lz
dexon-sol-tools-fe38adfa0869661ecd5f263222c92689cd1621a7.tar.xz
dexon-sol-tools-fe38adfa0869661ecd5f263222c92689cd1621a7.tar.zst
dexon-sol-tools-fe38adfa0869661ecd5f263222c92689cd1621a7.zip
Merge pull request #1027 from 0xProject/dev-dropdown
New Topbar Developers Dropdown
Diffstat (limited to 'packages/contracts/test/exchange/internal.ts')
-rw-r--r--packages/contracts/test/exchange/internal.ts4
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