diff --git a/tests/lib/rules/jsx-indent.js b/tests/lib/rules/jsx-indent.js
index 3b08b9a554..ae49f50769 100644
--- a/tests/lib/rules/jsx-indent.js
+++ b/tests/lib/rules/jsx-indent.js
@@ -157,18 +157,23 @@ ruleTester.run('jsx-indent', rule, {
].join('\n'),
options: [2],
parserOptions: parserOptions,
- errors: [{message: 'Expected indentation of 2 space characters but found 9.'}]
+ errors: [
+ {message: 'Expected indentation of 2 space characters but found 9.'},
+ {message: 'Expected indentation of 2 space characters but found 9.'}
+ ]
}, {
code: [
'function App() {',
- ' return (',
- ' ',
- ' );',
+ ' return (',
+ ' ',
+ ' ',
+ ' ',
+ ' );',
'}'
].join('\n'),
options: [2],
parserOptions: parserOptions,
- errors: [{message: 'Expected indentation of 2 space characters but found 4.'}]
+ errors: [{message: 'Expected indentation of 4 space characters but found 6.'}]
}, {
code: [
'function App() {',