Skip to content

Commit e882a18

Browse files
jkimboyannickcr
authored andcommitted
Add failing test case for jsx-curly-spacing
1 parent 6950cbd commit e882a18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/lib/rules/jsx-curly-spacing.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ ruleTester.run('jsx-curly-spacing', rule, {
7878
].join('\n'),
7979
options: ['never'],
8080
parserOptions: parserOptions
81+
}, {
82+
code: '<App foo={bar/* comment */} />;',
83+
options: ['never'],
84+
parserOptions: parserOptions,
85+
parser: 'babel-eslint'
8186
}],
8287

8388
invalid: [{

0 commit comments

Comments
 (0)