diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-18 20:07:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 20:07:19 +0800 |
commit | bf653327638149816769027b0fde2d2e44a6fed0 (patch) | |
tree | 954985c17cf11eb5321b48a377523565bbf09733 /contracts/tokens/test/zrx_token.ts | |
parent | e6fe728bcbbab0c500fc7adee1439505282e8eca (diff) | |
parent | 3973dec9944a10c62ec6c3d15d973a00a6ea45a6 (diff) | |
download | dexon-sol-tools-bf653327638149816769027b0fde2d2e44a6fed0.tar dexon-sol-tools-bf653327638149816769027b0fde2d2e44a6fed0.tar.gz dexon-sol-tools-bf653327638149816769027b0fde2d2e44a6fed0.tar.bz2 dexon-sol-tools-bf653327638149816769027b0fde2d2e44a6fed0.tar.lz dexon-sol-tools-bf653327638149816769027b0fde2d2e44a6fed0.tar.xz dexon-sol-tools-bf653327638149816769027b0fde2d2e44a6fed0.tar.zst dexon-sol-tools-bf653327638149816769027b0fde2d2e44a6fed0.zip |
Merge branch 'development' into feature/new-ganache
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, { |