@@ -12,8 +12,6 @@ ruleTester.run('template-no-empty-headings', rule, {
1212 '<template><h2>{{this.title}}</h2></template>' ,
1313 '<template><h3><span>Text</span></h3></template>' ,
1414 '<template><h4 hidden></h4></template>' ,
15-
16- // Test cases ported from ember-template-lint
1715 '<template><h1>Accessible Heading</h1></template>' ,
1816 '<template><h1>Accessible Heading</h1></template>' ,
1917 '<template><h1 aria-hidden="true">Valid Heading</h1></template>' ,
@@ -52,10 +50,8 @@ ruleTester.run('template-no-empty-headings', rule, {
5250 output : null ,
5351 errors : [ { messageId : 'emptyHeading' } ] ,
5452 } ,
55-
56- // Test cases ported from ember-template-lint
5753 {
58- code : `<template><h1>
54+ code : `<template><h1>
5955 </h1></template>` ,
6056 output : null ,
6157 errors : [ { messageId : 'emptyHeading' } ] ,
@@ -66,7 +62,7 @@ ruleTester.run('template-no-empty-headings', rule, {
6662 errors : [ { messageId : 'emptyHeading' } ] ,
6763 } ,
6864 {
69- code : `<template><h1><span>
65+ code : `<template><h1><span>
7066 </span></h1></template>` ,
7167 output : null ,
7268 errors : [ { messageId : 'emptyHeading' } ] ,
0 commit comments