diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-26 14:51:40 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-26 14:51:40 +0800 |
commit | 7967ebed574f46553c135da4486e0759bef499c8 (patch) | |
tree | 8fb26f3c5a6e17efd1ceb9b235effa716a3777fa /packages | |
parent | 105b9273975b34d46dc98254846d2b31990d9d9a (diff) | |
download | dexon-sol-tools-7967ebed574f46553c135da4486e0759bef499c8.tar dexon-sol-tools-7967ebed574f46553c135da4486e0759bef499c8.tar.gz dexon-sol-tools-7967ebed574f46553c135da4486e0759bef499c8.tar.bz2 dexon-sol-tools-7967ebed574f46553c135da4486e0759bef499c8.tar.lz dexon-sol-tools-7967ebed574f46553c135da4486e0759bef499c8.tar.xz dexon-sol-tools-7967ebed574f46553c135da4486e0759bef499c8.tar.zst dexon-sol-tools-7967ebed574f46553c135da4486e0759bef499c8.zip |
Rename to singular
Diffstat (limited to 'packages')
-rw-r--r-- | packages/contracts/test/asset_proxy/proxies.ts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/contracts/test/asset_proxy/proxies.ts b/packages/contracts/test/asset_proxy/proxies.ts index 5f4c5b597..7e8e69f4e 100644 --- a/packages/contracts/test/asset_proxy/proxies.ts +++ b/packages/contracts/test/asset_proxy/proxies.ts @@ -1,6 +1,6 @@ import { BlockchainLifecycle } from '@0xproject/dev-utils'; import { assetProxyUtils, generatePseudoRandomSalt } from '@0xproject/order-utils'; -import { RevertReason } from '@0xproject/types'; +import { RevertReasons } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; import { LogWithDecodedArgs } from 'ethereum-types'; @@ -173,7 +173,7 @@ describe('Asset Transfer Proxies', () => { transferAmount, { from: exchangeAddress }, ), - RevertReason.TransferFailed, + RevertReasons.TransferFailed, ); }); @@ -187,7 +187,7 @@ describe('Asset Transfer Proxies', () => { erc20Proxy.transferFrom.sendTransactionAsync(encodedAssetData, makerAddress, takerAddress, amount, { from: notAuthorized, }), - RevertReason.SenderNotAuthorized, + RevertReasons.SenderNotAuthorized, ); }); }); @@ -239,7 +239,7 @@ describe('Asset Transfer Proxies', () => { erc20Proxy.batchTransferFrom.sendTransactionAsync(assetData, fromAddresses, toAddresses, amounts, { from: notAuthorized, }), - RevertReason.SenderNotAuthorized, + RevertReasons.SenderNotAuthorized, ); }); }); @@ -381,7 +381,7 @@ describe('Asset Transfer Proxies', () => { amount, { from: exchangeAddress }, ), - RevertReason.InvalidAmount, + RevertReasons.InvalidAmount, ); }); @@ -401,7 +401,7 @@ describe('Asset Transfer Proxies', () => { amount, { from: exchangeAddress }, ), - RevertReason.InvalidAmount, + RevertReasons.InvalidAmount, ); }); @@ -421,7 +421,7 @@ describe('Asset Transfer Proxies', () => { erc20Proxy.transferFrom.sendTransactionAsync(encodedAssetData, makerAddress, takerAddress, amount, { from: exchangeAddress, }), - RevertReason.TransferFailed, + RevertReasons.TransferFailed, ); }); @@ -438,7 +438,7 @@ describe('Asset Transfer Proxies', () => { amount, { from: notAuthorized }, ), - RevertReason.SenderNotAuthorized, + RevertReasons.SenderNotAuthorized, ); }); }); @@ -493,7 +493,7 @@ describe('Asset Transfer Proxies', () => { erc721Proxy.batchTransferFrom.sendTransactionAsync(assetData, fromAddresses, toAddresses, amounts, { from: notAuthorized, }), - RevertReason.SenderNotAuthorized, + RevertReasons.SenderNotAuthorized, ); }); }); |