Skip to content

Commit

Permalink
newline-after-import test syntax fails
Browse files Browse the repository at this point in the history
  • Loading branch information
benmosher committed Apr 11, 2017
1 parent c9f10e8 commit 2e9eea6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/rules/newline-after-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@ ruleTester.run('newline-after-import', require('rules/newline-after-import'), {
parserOptions: { sourceType: 'module' },
},
{
code: `import foo from 'foo';\n\nvar foo = 'bar';`,
code: `import foo from 'foo';\n\nvar bar = 'bar';`,
parserOptions: { sourceType: 'module' },
},
{
code: `import foo from 'foo';\n\n\nvar foo = 'bar';`,
code: `import foo from 'foo';\n\n\nvar bar = 'bar';`,
parserOptions: { sourceType: 'module' },
options: [{ 'count': 2 }],
},
{
code: `import foo from 'foo';\n\n\n\n\nvar foo = 'bar';`,
code: `import foo from 'foo';\n\n\n\n\nvar bar = 'bar';`,
parserOptions: { sourceType: 'module' },
options: [{ 'count': 4 }],
},
Expand Down

0 comments on commit 2e9eea6

Please sign in to comment.