From 9ee09dab59bca2323bc1e701550d3eca2f6b234b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulat?= Date: Mon, 23 Apr 2018 13:17:23 +0200 Subject: [PATCH] Remove redundant whitespaces from ERC721Token.test.js --- test/token/ERC721/ERC721Token.test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/token/ERC721/ERC721Token.test.js b/test/token/ERC721/ERC721Token.test.js index a1aabc24141..9d53a6cef09 100644 --- a/test/token/ERC721/ERC721Token.test.js +++ b/test/token/ERC721/ERC721Token.test.js @@ -75,7 +75,7 @@ contract('ERC721Token', function (accounts) { await assertRevert(this.token.tokenByIndex(0)); }); }); - + describe('metadata', function () { const sampleUri = 'mock://mytoken'; @@ -122,7 +122,7 @@ contract('ERC721Token', function (accounts) { describe('tokenOfOwnerByIndex', function () { const owner = creator; const another = accounts[1]; - + describe('when the given index is lower than the amount of tokens owned by the given address', function () { it('returns the token ID placed at the given index', async function () { const tokenId = await this.token.tokenOfOwnerByIndex(owner, 0); @@ -178,14 +178,14 @@ contract('ERC721Token', function (accounts) { const owner = accounts[0]; const newTokenId = 300; const anotherNewTokenId = 400; - + await this.token.burn(tokenId, { from: owner }); await this.token.mint(owner, newTokenId, { from: owner }); await this.token.mint(owner, anotherNewTokenId, { from: owner }); - + const count = await this.token.totalSupply(); count.toNumber().should.be.equal(3); - + const tokensListed = await Promise.all(_.range(3).map(i => this.token.tokenByIndex(i))); const expectedTokens = _.filter( [firstTokenId, secondTokenId, newTokenId, anotherNewTokenId],