Dangling commas are now required. (#1359)
This commit is contained in:
committed by
Leo Arias
parent
1a4e5346ed
commit
a6889776f4
@ -65,7 +65,7 @@ contract('ERC20', function ([_, owner, recipient, anotherAccount]) {
|
||||
expectEvent.inLogs(logs, 'Transfer', {
|
||||
from: owner,
|
||||
to: to,
|
||||
value: amount
|
||||
value: amount,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -93,7 +93,7 @@ contract('ERC20', function ([_, owner, recipient, anotherAccount]) {
|
||||
expectEvent.inLogs(logs, 'Approval', {
|
||||
owner: owner,
|
||||
spender: spender,
|
||||
value: amount
|
||||
value: amount,
|
||||
});
|
||||
});
|
||||
|
||||
@ -127,7 +127,7 @@ contract('ERC20', function ([_, owner, recipient, anotherAccount]) {
|
||||
expectEvent.inLogs(logs, 'Approval', {
|
||||
owner: owner,
|
||||
spender: spender,
|
||||
value: amount
|
||||
value: amount,
|
||||
});
|
||||
});
|
||||
|
||||
@ -197,7 +197,7 @@ contract('ERC20', function ([_, owner, recipient, anotherAccount]) {
|
||||
expectEvent.inLogs(logs, 'Transfer', {
|
||||
from: owner,
|
||||
to: to,
|
||||
value: amount
|
||||
value: amount,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -272,7 +272,7 @@ contract('ERC20', function ([_, owner, recipient, anotherAccount]) {
|
||||
expectEvent.inLogs(logs, 'Approval', {
|
||||
owner: owner,
|
||||
spender: spender,
|
||||
value: 0
|
||||
value: 0,
|
||||
});
|
||||
});
|
||||
|
||||
@ -329,7 +329,7 @@ contract('ERC20', function ([_, owner, recipient, anotherAccount]) {
|
||||
expectEvent.inLogs(logs, 'Approval', {
|
||||
owner: owner,
|
||||
spender: spender,
|
||||
value: amount
|
||||
value: amount,
|
||||
});
|
||||
});
|
||||
|
||||
@ -363,7 +363,7 @@ contract('ERC20', function ([_, owner, recipient, anotherAccount]) {
|
||||
expectEvent.inLogs(logs, 'Approval', {
|
||||
owner: owner,
|
||||
spender: spender,
|
||||
value: amount
|
||||
value: amount,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ function shouldBehaveLikeERC20Burnable (owner, initialBalance, [burner]) {
|
||||
expectEvent.inLogs(this.logs, 'Transfer', {
|
||||
from: owner,
|
||||
to: ZERO_ADDRESS,
|
||||
value: amount
|
||||
value: amount,
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -78,7 +78,7 @@ function shouldBehaveLikeERC20Burnable (owner, initialBalance, [burner]) {
|
||||
expectEvent.inLogs(this.logs, 'Transfer', {
|
||||
from: owner,
|
||||
to: ZERO_ADDRESS,
|
||||
value: amount
|
||||
value: amount,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ function shouldBehaveLikeERC20Mintable (minter, [anyone]) {
|
||||
expectEvent.inLogs(this.logs, 'Transfer', {
|
||||
from: ZERO_ADDRESS,
|
||||
to: anyone,
|
||||
value: amount
|
||||
value: amount,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ function shouldBehaveLikeERC721 (
|
||||
expectEvent.inLogs(logs, 'Transfer', {
|
||||
from: owner,
|
||||
to: this.toWhom,
|
||||
tokenId: tokenId
|
||||
tokenId: tokenId,
|
||||
});
|
||||
});
|
||||
} else {
|
||||
@ -100,7 +100,7 @@ function shouldBehaveLikeERC721 (
|
||||
expectEvent.inLogs(logs, 'Transfer', {
|
||||
from: owner,
|
||||
to: this.toWhom,
|
||||
tokenId: tokenId
|
||||
tokenId: tokenId,
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -165,7 +165,7 @@ function shouldBehaveLikeERC721 (
|
||||
expectEvent.inLogs(logs, 'Transfer', {
|
||||
from: owner,
|
||||
to: owner,
|
||||
tokenId: tokenId
|
||||
tokenId: tokenId,
|
||||
});
|
||||
});
|
||||
|
||||
@ -341,7 +341,7 @@ function shouldBehaveLikeERC721 (
|
||||
expectEvent.inLogs(logs, 'Approval', {
|
||||
owner: owner,
|
||||
approved: address,
|
||||
tokenId: tokenId
|
||||
tokenId: tokenId,
|
||||
});
|
||||
});
|
||||
};
|
||||
@ -451,7 +451,7 @@ function shouldBehaveLikeERC721 (
|
||||
expectEvent.inLogs(logs, 'ApprovalForAll', {
|
||||
owner: owner,
|
||||
operator: operator,
|
||||
approved: true
|
||||
approved: true,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -473,7 +473,7 @@ function shouldBehaveLikeERC721 (
|
||||
expectEvent.inLogs(logs, 'ApprovalForAll', {
|
||||
owner: owner,
|
||||
operator: operator,
|
||||
approved: true
|
||||
approved: true,
|
||||
});
|
||||
});
|
||||
|
||||
@ -501,7 +501,7 @@ function shouldBehaveLikeERC721 (
|
||||
expectEvent.inLogs(logs, 'ApprovalForAll', {
|
||||
owner: owner,
|
||||
operator: operator,
|
||||
approved: true
|
||||
approved: true,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@ -45,7 +45,7 @@ function shouldBehaveLikeMintAndBurnERC721 (
|
||||
expectEvent.inLogs(logs, 'Transfer', {
|
||||
from: ZERO_ADDRESS,
|
||||
to: newOwner,
|
||||
tokenId: thirdTokenId
|
||||
tokenId: thirdTokenId,
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -90,7 +90,7 @@ function shouldBehaveLikeMintAndBurnERC721 (
|
||||
expectEvent.inLogs(logs, 'Transfer', {
|
||||
from: owner,
|
||||
to: ZERO_ADDRESS,
|
||||
tokenId: tokenId
|
||||
tokenId: tokenId,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user