diff --git a/tests/lib/rules/jsx-tag-spacing.js b/tests/lib/rules/jsx-tag-spacing.js index c50ddadd92..5432cf0f19 100644 --- a/tests/lib/rules/jsx-tag-spacing.js +++ b/tests/lib/rules/jsx-tag-spacing.js @@ -212,7 +212,7 @@ ruleTester.run('jsx-tag-spacing', rule, { }, { code: ';', output: ';', - errors: [{message: 'Whitespace is forbidden between `/` and `>`'}], + errors: [{message: 'Whitespace is forbidden between `/` and `>`; write `/>`'}], options: closingSlashOptions('never') }, { code: [ @@ -220,12 +220,12 @@ ruleTester.run('jsx-tag-spacing', rule, { '>' ].join('\n'), output: '', - errors: [{message: 'Whitespace is forbidden between `/` and `>`'}], + errors: [{message: 'Whitespace is forbidden between `/` and `>`; write `/>`'}], options: closingSlashOptions('never') }, { code: '
< /div>;', output: '
;', - errors: [{message: 'Whitespace is forbidden between `<` and `/`'}], + errors: [{message: 'Whitespace is forbidden between `<` and `/`; write `;' ].join('\n'), output: '
;', - errors: [{message: 'Whitespace is forbidden between `<` and `/`'}], + errors: [{message: 'Whitespace is forbidden between `<` and `/`; write `', output: '< /App>', - errors: [{message: 'Whitespace is required between `<` and `/`'}], + errors: [{message: 'Whitespace is required between `<` and `/`; write `< /`'}], options: closingSlashOptions('always') }, { code: '

', output: '

', - errors: [{message: 'Whitespace is required between `/` and `>`'}], + errors: [{message: 'Whitespace is required between `/` and `>`; write `/ >`'}], options: closingSlashOptions('always') }, { code: '< App/>',