Skip to content

Commit

Permalink
Fix solint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
facuspagnuolo committed Jan 17, 2018
1 parent 4be49b1 commit 2a51700
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions contracts/mocks/DetailedERC721TokenMock.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pragma solidity ^0.4.18;

import './ERC721TokenMock.sol';
import '../token/DetailedERC721Token.sol';
import "./ERC721TokenMock.sol";
import "../token/DetailedERC721Token.sol";

/**
* @title DetailedERC721TokenMock
Expand Down
2 changes: 1 addition & 1 deletion contracts/token/DetailedERC721Token.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contract DetailedERC721Token is DetailedERC721, ERC721Token {
mapping (uint256 => string) private _metadata;

// Event triggered every time a token metadata gets updated
event MetadataUpdated(address indexed _owner, uint256 _tokenId, string _newMetadata);
event MetadataUpdated(address _owner, uint256 _tokenId, string _newMetadata);

/**
* @dev Constructor function
Expand Down
4 changes: 2 additions & 2 deletions test/token/DetailedERC721Token.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ contract('DetailedERC721Token', accounts => {

describe('setTokenMetadata', function () {
describe('when the sender is not the token owner', function () {
const sender = accounts[2];
const sender = accounts[1];

it('reverts', async function () {
await assertRevert(token.setTokenMetadata(_firstTokenId, 'new metadata'), { from: sender });
await assertRevert(token.setTokenMetadata(_firstTokenId, 'new metadata', { from: sender }));
});
});

Expand Down

0 comments on commit 2a51700

Please sign in to comment.