aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/tokens/test/unlimited_allowance_token.ts
diff options
context:
space:
mode:
Diffstat (limited to 'contracts/tokens/test/unlimited_allowance_token.ts')
-rw-r--r--contracts/tokens/test/unlimited_allowance_token.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/contracts/tokens/test/unlimited_allowance_token.ts b/contracts/tokens/test/unlimited_allowance_token.ts
index 6d5a29b23..f0b8e53a4 100644
--- a/contracts/tokens/test/unlimited_allowance_token.ts
+++ b/contracts/tokens/test/unlimited_allowance_token.ts
@@ -109,7 +109,7 @@ describe('UnlimitedAllowanceToken', () => {
const amountToTransfer = ownerBalance;
const spenderAllowance = await token.allowance.callAsync(owner, spender);
- const isSpenderAllowanceInsufficient = spenderAllowance.cmp(amountToTransfer) < 0;
+ const isSpenderAllowanceInsufficient = spenderAllowance.comparedTo(amountToTransfer) < 0;
expect(isSpenderAllowanceInsufficient).to.be.true();
return expectContractCallFailedAsync(