diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-15 02:24:21 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-15 23:25:25 +0800 |
commit | a084bbbed833caf8318ae68c9c71edcb543676f1 (patch) | |
tree | fd9e4feefec77146cde76f1fb150d7e74571282d /contracts/tokens/test/zrx_token.ts | |
parent | eb393f0a6643183c784914bf3e039d1f4299247d (diff) | |
download | dexon-sol-tools-a084bbbed833caf8318ae68c9c71edcb543676f1.tar dexon-sol-tools-a084bbbed833caf8318ae68c9c71edcb543676f1.tar.gz dexon-sol-tools-a084bbbed833caf8318ae68c9c71edcb543676f1.tar.bz2 dexon-sol-tools-a084bbbed833caf8318ae68c9c71edcb543676f1.tar.lz dexon-sol-tools-a084bbbed833caf8318ae68c9c71edcb543676f1.tar.xz dexon-sol-tools-a084bbbed833caf8318ae68c9c71edcb543676f1.tar.zst dexon-sol-tools-a084bbbed833caf8318ae68c9c71edcb543676f1.zip |
Rename cmp to comparedTo
Diffstat (limited to 'contracts/tokens/test/zrx_token.ts')
-rw-r--r-- | contracts/tokens/test/zrx_token.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contracts/tokens/test/zrx_token.ts b/contracts/tokens/test/zrx_token.ts index 5dc8447f6..820b054e6 100644 --- a/contracts/tokens/test/zrx_token.ts +++ b/contracts/tokens/test/zrx_token.ts @@ -117,7 +117,7 @@ describe('ZRXToken', () => { const amountToTransfer = ownerBalance; const spenderAllowance = await zrxToken.allowance.callAsync(owner, spender); - const isSpenderAllowanceInsufficient = spenderAllowance.cmp(amountToTransfer) < 0; + const isSpenderAllowanceInsufficient = spenderAllowance.comparedTo(amountToTransfer) < 0; expect(isSpenderAllowanceInsufficient).to.be.true(); const didReturnTrue = await zrxToken.transferFrom.callAsync(owner, spender, amountToTransfer, { |