Skip to content

Commit 8f3dc55

Browse files
committed
Add failing test
1 parent 27b8279 commit 8f3dc55

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/lib/rules/jsx-indent.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,5 +963,16 @@ ruleTester.run('jsx-indent', rule, {
963963
errors: [
964964
{message: 'Expected indentation of 4 space characters but found 0.'}
965965
]
966+
}, {
967+
code: [
968+
'<p>',
969+
' <div>',
970+
' <SelfClosingTag />Text',
971+
' </div>',
972+
'</p>'
973+
].join('\n'),
974+
errors: [
975+
{message: 'Expected indentation of 4 space characters but found 2.'}
976+
]
966977
}]
967978
});

0 commit comments

Comments
 (0)