Skip to content

Commit

Permalink
[Tests] jsx-curly-spacing: add regression test case
Browse files Browse the repository at this point in the history
Fixes #998
  • Loading branch information
ColCh authored and ljharb committed Mar 17, 2019
1 parent cd0ca8d commit 005070d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/lib/rules/jsx-curly-spacing.js
Expand Up @@ -680,6 +680,9 @@ ruleTester.run('jsx-curly-spacing', rule, {
}, {
code: '<>{bar} {baz}</>;',
parser: 'babel-eslint'
}, {
code: '<div onLayout={() => { /* dummy callback to fix android bug with component measuring */ }} />',
parser: 'babel-eslint'
}],

invalid: [{
Expand Down

0 comments on commit 005070d

Please sign in to comment.