Skip to content

Commit

Permalink
Add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jseminck committed Nov 16, 2017
1 parent 27b8279 commit 8f3dc55
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/lib/rules/jsx-indent.js
Expand Up @@ -963,5 +963,16 @@ ruleTester.run('jsx-indent', rule, {
errors: [
{message: 'Expected indentation of 4 space characters but found 0.'}
]
}, {
code: [
'<p>',
' <div>',
' <SelfClosingTag />Text',
' </div>',
'</p>'
].join('\n'),
errors: [
{message: 'Expected indentation of 4 space characters but found 2.'}
]
}]
});

0 comments on commit 8f3dc55

Please sign in to comment.