Skip to content

Commit ef9d1f3

Browse files
committed
Remove unneeded comment
1 parent 9d274fb commit ef9d1f3

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tests/lib/rules/template-no-empty-headings.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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&nbsp;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
&nbsp;</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
&nbsp;</span></h1></template>`,
7167
output: null,
7268
errors: [{ messageId: 'emptyHeading' }],

0 commit comments

Comments
 (0)