Skip to content

Commit

Permalink
Add failing test case for jsx-curly-spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jkimbo authored and yannickcr committed May 8, 2016
1 parent 6950cbd commit e882a18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/lib/rules/jsx-curly-spacing.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ ruleTester.run('jsx-curly-spacing', rule, {
].join('\n'),
options: ['never'],
parserOptions: parserOptions
}, {
code: '<App foo={bar/* comment */} />;',
options: ['never'],
parserOptions: parserOptions,
parser: 'babel-eslint'
}],

invalid: [{
Expand Down

0 comments on commit e882a18

Please sign in to comment.