aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange/dispatcher.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-26 14:11:14 +0800
committerFabio Berger <me@fabioberger.com>2018-06-26 14:11:14 +0800
commit27670f4da679f5dbd3a3b399f14ba437184d2633 (patch)
tree064b746936595b2d55edbb336cff631e531431d0 /packages/contracts/test/exchange/dispatcher.ts
parente051743a3d9b92c8a5b275dc5843b98c37830b8c (diff)
downloaddexon-sol-tools-27670f4da679f5dbd3a3b399f14ba437184d2633.tar
dexon-sol-tools-27670f4da679f5dbd3a3b399f14ba437184d2633.tar.gz
dexon-sol-tools-27670f4da679f5dbd3a3b399f14ba437184d2633.tar.bz2
dexon-sol-tools-27670f4da679f5dbd3a3b399f14ba437184d2633.tar.lz
dexon-sol-tools-27670f4da679f5dbd3a3b399f14ba437184d2633.tar.xz
dexon-sol-tools-27670f4da679f5dbd3a3b399f14ba437184d2633.tar.zst
dexon-sol-tools-27670f4da679f5dbd3a3b399f14ba437184d2633.zip
Rename RevertReasons to RevertReason since singular enum names are more common
Diffstat (limited to 'packages/contracts/test/exchange/dispatcher.ts')
-rw-r--r--packages/contracts/test/exchange/dispatcher.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/contracts/test/exchange/dispatcher.ts b/packages/contracts/test/exchange/dispatcher.ts
index 495f6d3c8..8adbee6a3 100644
--- a/packages/contracts/test/exchange/dispatcher.ts
+++ b/packages/contracts/test/exchange/dispatcher.ts
@@ -1,6 +1,6 @@
import { BlockchainLifecycle } from '@0xproject/dev-utils';
import { assetProxyUtils } from '@0xproject/order-utils';
-import { AssetProxyId, RevertReasons } from '@0xproject/types';
+import { AssetProxyId, RevertReason } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import * as chai from 'chai';
@@ -182,7 +182,7 @@ describe('AssetProxyDispatcher', () => {
constants.NULL_ADDRESS,
{ from: owner },
),
- RevertReasons.AssetProxyMismatch,
+ RevertReason.AssetProxyMismatch,
);
});
@@ -224,7 +224,7 @@ describe('AssetProxyDispatcher', () => {
prevProxyAddress,
{ from: notOwner },
),
- RevertReasons.OnlyContractOwner,
+ RevertReason.OnlyContractOwner,
);
});
@@ -237,7 +237,7 @@ describe('AssetProxyDispatcher', () => {
prevProxyAddress,
{ from: owner },
),
- RevertReasons.AssetProxyIdMismatch,
+ RevertReason.AssetProxyIdMismatch,
);
});
});
@@ -316,7 +316,7 @@ describe('AssetProxyDispatcher', () => {
amount,
{ from: owner },
),
- RevertReasons.AssetProxyDoesNotExist,
+ RevertReason.AssetProxyDoesNotExist,
);
});
});