Skip to content

Commit

Permalink
Merge branch 'directive-tests' into feat/disable-previous-line
Browse files Browse the repository at this point in the history
  • Loading branch information
nventuro committed Dec 20, 2018
2 parents 3c0bb6c + b963b98 commit 99efbf9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/comment-directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('Linter', () => {
const report = linter.processStr(
`
// solhint-disable-next-line
pragma solidity ^0.4.4;
pragma solidity 0.3.4;
pragma solidity 0.3.4;
`,
noIndent()
Expand All @@ -37,7 +37,7 @@ describe('Linter', () => {
it('should disable only one compiler error on previous line', () => {
const report = linter.processStr(
`
pragma solidity ^0.4.4;
pragma solidity 0.3.4;
// solhint-disable-previous-line
pragma solidity 0.3.4;
`,
Expand All @@ -51,7 +51,7 @@ describe('Linter', () => {
const report = linter.processStr(
`
/* solhint-disable-next-line */
pragma solidity ^0.4.4;
pragma solidity 0.3.4;
pragma solidity 0.3.4;
`,
noIndent()
Expand All @@ -63,7 +63,7 @@ describe('Linter', () => {
it('should disable only one compiler error on previous line using multiline comment', () => {
const report = linter.processStr(
`
pragma solidity ^0.4.4;
pragma solidity 0.3.4;
/* solhint-disable-previous-line */
pragma solidity 0.3.4;
`,
Expand Down

0 comments on commit 99efbf9

Please sign in to comment.