diff --git a/tests/lib/rules/jsx-max-props-per-line.js b/tests/lib/rules/jsx-max-props-per-line.js
index b322c367f9..55ce2d2e79 100644
--- a/tests/lib/rules/jsx-max-props-per-line.js
+++ b/tests/lib/rules/jsx-max-props-per-line.js
@@ -38,6 +38,10 @@ ruleTester.run('jsx-max-props-per-line', rule, {
code: '',
options: [{when: 'multiline'}],
parserOptions: parserOptions
+ }, {
+ code: '',
+ options: [{when: 'multiline'}],
+ parserOptions: parserOptions
}, {
code: '',
options: [{maximum: 2, when: 'multiline'}],
@@ -109,6 +113,46 @@ ruleTester.run('jsx-max-props-per-line', rule, {
].join('\n'),
errors: [{message: 'Prop `bar` must be placed on a new line'}],
parserOptions: parserOptions
+ }, {
+ code: [
+ ''
+ ].join('\n'),
+ errors: [{message: 'Prop `bar` must be placed on a new line'}],
+ parserOptions: parserOptions
+ }, {
+ code: [
+ ''
+ ].join('\n'),
+ options: [{maximum: 2}],
+ errors: [{message: 'Prop `baz` must be placed on a new line'}],
+ parserOptions: parserOptions
+ }, {
+ code: [
+ ''
+ ].join('\n'),
+ errors: [{message: 'Prop `rest` must be placed on a new line'}],
+ parserOptions: parserOptions
+ }, {
+ code: [
+ ''
+ ].join('\n'),
+ errors: [{message: 'Prop `bar` must be placed on a new line'}],
+ parserOptions: parserOptions
+ }, {
+ code: [
+ ''
+ ].join('\n'),
+ errors: [{message: 'Prop `rest` must be placed on a new line'}],
+ parserOptions: parserOptions
}, {
code: [
'