diff --git a/test/token/ERC20/ERC20.test.js b/test/token/ERC20/ERC20.test.js index ac82c8dcc..8511db3a2 100644 --- a/test/token/ERC20/ERC20.test.js +++ b/test/token/ERC20/ERC20.test.js @@ -323,11 +323,11 @@ contract('ERC20', function ([_, initialHolder, recipient, anotherAccount]) { describe('_mint', function () { const amount = new BN(50); - it('rejects a null account', async function () { + it('rejects a zero account', async function () { await shouldFail.reverting(this.token.mint(ZERO_ADDRESS, amount)); }); - describe('for a non null account', function () { + describe('for a non zero account', function () { beforeEach('minting', async function () { const { logs } = await this.token.mint(recipient, amount); this.logs = logs; @@ -354,11 +354,11 @@ contract('ERC20', function ([_, initialHolder, recipient, anotherAccount]) { }); describe('_burn', function () { - it('rejects a null account', async function () { + it('rejects a zero account', async function () { await shouldFail.reverting(this.token.burn(ZERO_ADDRESS, new BN(1))); }); - describe('for a non null account', function () { + describe('for a non zero account', function () { it('rejects burning more than balance', async function () { await shouldFail.reverting(this.token.burn(initialHolder, initialSupply.addn(1))); }); @@ -405,11 +405,11 @@ contract('ERC20', function ([_, initialHolder, recipient, anotherAccount]) { await this.token.approve(spender, allowance, { from: initialHolder }); }); - it('rejects a null account', async function () { + it('rejects a zero account', async function () { await shouldFail.reverting(this.token.burnFrom(ZERO_ADDRESS, new BN(1))); }); - describe('for a non null account', function () { + describe('for a non zero account', function () { it('rejects burning more than allowance', async function () { await shouldFail.reverting(this.token.burnFrom(initialHolder, allowance.addn(1))); }); diff --git a/test/token/ERC721/ERC721.test.js b/test/token/ERC721/ERC721.test.js index 52cc80cea..223f6ab4e 100644 --- a/test/token/ERC721/ERC721.test.js +++ b/test/token/ERC721/ERC721.test.js @@ -15,7 +15,7 @@ contract('ERC721', function ([_, creator, tokenOwner, other, ...accounts]) { const tokenId = new BN('5042'); describe('_mint(address, uint256)', function () { - it('reverts with a null destination address', async function () { + it('reverts with a zero destination address', async function () { await shouldFail.reverting(this.token.mint(ZERO_ADDRESS, tokenId)); });