diff --git a/tests/lib/rules/no-unescaped-entities.js b/tests/lib/rules/no-unescaped-entities.js index b10f5555e0..04af895e97 100644 --- a/tests/lib/rules/no-unescaped-entities.js +++ b/tests/lib/rules/no-unescaped-entities.js @@ -108,15 +108,6 @@ ruleTester.run('no-unescaped-entities', rule, { invalid: [ { - code: ` - var Hello = createReactClass({ - render: function() { - return
>
; - } - }); - `, - errors: [{message: '`>` can be escaped with `>`.'}] - }, { code: ` var Hello = createReactClass({ render: function() { @@ -126,17 +117,6 @@ ruleTester.run('no-unescaped-entities', rule, { `, parser: parsers.BABEL_ESLINT, errors: [{message: '`>` can be escaped with `>`.'}] - }, { - code: ` - var Hello = createReactClass({ - render: function() { - return
first line is ok - so is second - and here are some bad entities: >
- } - }); - `, - errors: [{message: '`>` can be escaped with `>`.'}] }, { code: ` var Hello = createReactClass({ @@ -158,28 +138,6 @@ ruleTester.run('no-unescaped-entities', rule, { }); `, errors: [{message: '`\'` can be escaped with `'`, `‘`, `'`, `’`.'}] - }, { - code: ` - var Hello = createReactClass({ - render: function() { - return
Multiple errors: '>>
; - } - }); - `, - errors: [ - {message: '`\'` can be escaped with `'`, `‘`, `'`, `’`.'}, - {message: '`>` can be escaped with `>`.'}, - {message: '`>` can be escaped with `>`.'} - ] - }, { - code: ` - var Hello = createReactClass({ - render: function() { - return
{"Unbalanced braces"}}
; - } - }); - `, - errors: [{message: '`}` can be escaped with `}`.'}] }, { code: ` var Hello = createReactClass({