Skip to content

Commit

Permalink
Normalized line endings for the whole repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ritave committed Mar 21, 2018
1 parent 64dc39d commit 32f0d54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
@@ -0,0 +1,6 @@
# Normalizes all line endings in the repository
# as per https://git-scm.com/docs/gitattributes
#
# This is needed because Solium has a problem with mixed line endings
# and returns false positives
* text=auto
4 changes: 2 additions & 2 deletions packages/contracts/test/newsroom/newsroom.ts
Expand Up @@ -186,9 +186,9 @@ contract("Newsroom", (accounts: string[]) => {
const tx = await newsroom.proposeContent(SOME_URI);
const event = findEvent(tx, events.NEWSROOM_PROPOSED);
expect(event).to.not.be.undefined();
// tslint:enable no-non-null-assertion
expect(event!.args.author).to.be.equal(defaultAccount);
// tslint:disable no-non-null-assertion
expect(event!.args.author).to.be.equal(defaultAccount);
// tslint:enable no-non-null-assertion
});

it("fails without reporter role", async () => {
Expand Down

0 comments on commit 32f0d54

Please sign in to comment.