diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-12 05:16:09 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-12 08:54:57 +0800 |
commit | 6033c1a5d5f494d1ed27b00488ca458952341ae6 (patch) | |
tree | 17b53c7971047ca57b235c5351e972da721c09a4 /test/utils/token_utils.ts | |
parent | 38fbf028a6699c7d8e853db4699a37cdf60e70c2 (diff) | |
download | dexon-sol-tools-6033c1a5d5f494d1ed27b00488ca458952341ae6.tar dexon-sol-tools-6033c1a5d5f494d1ed27b00488ca458952341ae6.tar.gz dexon-sol-tools-6033c1a5d5f494d1ed27b00488ca458952341ae6.tar.bz2 dexon-sol-tools-6033c1a5d5f494d1ed27b00488ca458952341ae6.tar.lz dexon-sol-tools-6033c1a5d5f494d1ed27b00488ca458952341ae6.tar.xz dexon-sol-tools-6033c1a5d5f494d1ed27b00488ca458952341ae6.tar.zst dexon-sol-tools-6033c1a5d5f494d1ed27b00488ca458952341ae6.zip |
Use PascalCase names as string enum keys
Diffstat (limited to 'test/utils/token_utils.ts')
-rw-r--r-- | test/utils/token_utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/token_utils.ts b/test/utils/token_utils.ts index f4fa7ac31..60cf4527b 100644 --- a/test/utils/token_utils.ts +++ b/test/utils/token_utils.ts @@ -11,7 +11,7 @@ export class TokenUtils { public getProtocolTokenOrThrow(): Token { const zrxToken = _.find(this.tokens, {symbol: PROTOCOL_TOKEN_SYMBOL}); if (_.isUndefined(zrxToken)) { - throw new Error(ZeroExError.ZRX_NOT_IN_TOKEN_REGISTRY); + throw new Error(ZeroExError.ZrxNotInTokenRegistry); } return zrxToken; } |