Skip to content

Commit

Permalink
stylelintGH-4917 Amend always test case for at-rule-empty-line-before
Browse files Browse the repository at this point in the history
  • Loading branch information
agarzola committed Nov 20, 2020
1 parent 1b75f38 commit 6e9bbc8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/rules/at-rule-empty-line-before/__tests__/index.js
Expand Up @@ -278,6 +278,16 @@ testRule({
code: '/* foo */\r\n\r\n@media {}',
description: 'CRLF',
},
{
code: '// foo\n// bar\n@media {}',
},
{
code: '// foo\n// bar\n\n@media{}',
},
{
code: '// foo\r\n// bar\r\n\r\n@media {}',
description: 'CRLF',
},
],

reject: [
Expand Down

0 comments on commit 6e9bbc8

Please sign in to comment.