6060
6161 <div>World</div>
6262 </template>` ,
63- output : null ,
63+ output : `<template>
64+ <div>Hello</div>
65+
66+ <div>World</div>
67+ </template>` ,
6468 errors : [
6569 {
6670 message : 'More than 1 blank line not allowed.' ,
7579
7680 <div>Second</div>
7781 </template>` ,
78- output : null ,
82+ output : `<template>
83+ <div>First</div>
84+
85+ <div>Second</div>
86+ </template>` ,
7987 errors : [
8088 {
8189 message : 'More than 1 blank line not allowed.' ,
8896
8997
9098<div>bar</div></template>` ,
91- output : null ,
99+ output : `<template><div>foo</div>
100+
101+ <div>bar</div></template>` ,
92102 errors : [ { message : 'More than 1 blank line not allowed.' } ] ,
93103 } ,
94104 {
98108
99109
100110<div>bar</div></template>` ,
101- output : null ,
111+ output : `<template><div>foo</div>
112+
113+ <div>bar</div></template>` ,
102114 errors : [ { message : 'More than 1 blank line not allowed.' } ] ,
103115 } ,
104116 ] ,
@@ -142,7 +154,9 @@ hbsRuleTester.run('template-no-multiple-empty-lines', rule, {
142154
143155
144156<div>bar</div>` ,
145- output : null ,
157+ output : `<div>foo</div>
158+
159+ <div>bar</div>` ,
146160 errors : [ { message : 'More than 1 blank line not allowed.' } ] ,
147161 } ,
148162 {
@@ -152,12 +166,14 @@ hbsRuleTester.run('template-no-multiple-empty-lines', rule, {
152166
153167
154168<div>bar</div>` ,
155- output : null ,
169+ output : `<div>foo</div>
170+
171+ <div>bar</div>` ,
156172 errors : [ { message : 'More than 1 blank line not allowed.' } ] ,
157173 } ,
158174 {
159175 code : '<div>foo</div>\n\n\n\n\n<div>bar</div>' ,
160- output : null ,
176+ output : '<div>foo</div>\n\n\n\n<div>bar</div>' ,
161177 options : [ { max : 3 } ] ,
162178 errors : [ { message : 'More than 3 blank lines not allowed.' } ] ,
163179 } ,
0 commit comments