diff --git a/tests/lib/rules/jsx-indent-props.js b/tests/lib/rules/jsx-indent-props.js
index 67e4b1223e..288b38ddad 100644
--- a/tests/lib/rules/jsx-indent-props.js
+++ b/tests/lib/rules/jsx-indent-props.js
@@ -204,6 +204,29 @@ ruleTester.run('jsx-indent-props', rule, {
{message: 'Expected indentation of 6 space characters but found 4.'},
{message: 'Expected indentation of 6 space characters but found 4.'}
]
+ }, {
+ code: [
+ 'const test = true',
+ ' ? ',
+ ' : (',
+ ' ',
+ ' )'
+ ].join('\n'),
+ output: [
+ 'const test = true',
+ ' ? ',
+ ' : (',
+ ' ',
+ ' )'
+ ].join('\n'),
+ options: [2],
+ errors: [
+ {message: 'Expected indentation of 6 space characters but found 8.'}
+ ]
}, {
code: [
'{test.isLoading',