@@ -207,13 +207,15 @@ tester.run('html-comment-content-spacing', rule, {
207207 message : "Expected space after '<!--'." ,
208208 line : 3 ,
209209 column : 15 ,
210- endColumn : 15
210+ endColumn : 15 ,
211+ endLine : 3
211212 } ,
212213 {
213214 message : "Expected space before '-->'." ,
214215 line : 3 ,
215216 column : 22 ,
216- endColumn : 22
217+ endColumn : 22 ,
218+ endLine : 3
217219 }
218220 ]
219221 } ,
@@ -234,13 +236,15 @@ tester.run('html-comment-content-spacing', rule, {
234236 message : "Unexpected space after '<!--'." ,
235237 line : 3 ,
236238 column : 15 ,
237- endColumn : 16
239+ endColumn : 16 ,
240+ endLine : 3
238241 } ,
239242 {
240243 message : "Unexpected space before '-->'." ,
241244 line : 3 ,
242245 column : 23 ,
243- endColumn : 24
246+ endColumn : 24 ,
247+ endLine : 3
244248 }
245249 ]
246250 } ,
@@ -261,13 +265,15 @@ tester.run('html-comment-content-spacing', rule, {
261265 message : "Unexpected space after '<!--'." ,
262266 line : 3 ,
263267 column : 15 ,
264- endColumn : 23
268+ endColumn : 23 ,
269+ endLine : 3
265270 } ,
266271 {
267272 message : "Unexpected space before '-->'." ,
268273 line : 3 ,
269274 column : 30 ,
270- endColumn : 38
275+ endColumn : 38 ,
276+ endLine : 3
271277 }
272278 ]
273279 } ,
@@ -281,8 +287,20 @@ tester.run('html-comment-content-spacing', rule, {
281287 output : null ,
282288 options : [ 'always' , { exceptions : [ '+' ] } ] ,
283289 errors : [
284- 'Expected space after exception block.' ,
285- 'Expected space before exception block.'
290+ {
291+ message : 'Expected space after exception block.' ,
292+ line : 3 ,
293+ column : 31 ,
294+ endLine : 3 ,
295+ endColumn : 31
296+ } ,
297+ {
298+ message : 'Expected space before exception block.' ,
299+ line : 3 ,
300+ column : 38 ,
301+ endLine : 3 ,
302+ endColumn : 38
303+ }
286304 ]
287305 } ,
288306 {
@@ -294,8 +312,20 @@ tester.run('html-comment-content-spacing', rule, {
294312 output : null ,
295313 options : [ 'always' , { exceptions : [ '*' ] } ] ,
296314 errors : [
297- 'Expected space after exception block.' ,
298- 'Expected space before exception block.'
315+ {
316+ message : 'Expected space after exception block.' ,
317+ line : 3 ,
318+ column : 20 ,
319+ endLine : 3 ,
320+ endColumn : 20
321+ } ,
322+ {
323+ message : 'Expected space before exception block.' ,
324+ line : 3 ,
325+ column : 27 ,
326+ endLine : 3 ,
327+ endColumn : 27
328+ }
299329 ]
300330 } ,
301331 {
@@ -311,8 +341,20 @@ tester.run('html-comment-content-spacing', rule, {
311341 ` ,
312342 options : [ 'always' , { exceptions : [ '#+#-' ] } ] ,
313343 errors : [
314- 'Expected space after exception block.' ,
315- "Expected space before '-->'."
344+ {
345+ message : 'Expected space after exception block.' ,
346+ line : 3 ,
347+ column : 27 ,
348+ endLine : 3 ,
349+ endColumn : 27
350+ } ,
351+ {
352+ message : "Expected space before '-->'." ,
353+ line : 3 ,
354+ column : 38 ,
355+ endLine : 3 ,
356+ endColumn : 38
357+ }
316358 ]
317359 } ,
318360 {
@@ -324,11 +366,19 @@ tester.run('html-comment-content-spacing', rule, {
324366 output : null ,
325367 options : [ 'always' , { exceptions : [ '*' , '++' ] } ] ,
326368 errors : [
327- 'Expected space after exception block.' ,
369+ {
370+ message : 'Expected space after exception block.' ,
371+ line : 3 ,
372+ column : 20 ,
373+ endLine : 3 ,
374+ endColumn : 20
375+ } ,
328376 {
329377 message : 'Expected space before exception block.' ,
330378 line : 3 ,
331- column : 27
379+ column : 27 ,
380+ endLine : 3 ,
381+ endColumn : 27
332382 }
333383 ]
334384 } ,
@@ -341,11 +391,19 @@ tester.run('html-comment-content-spacing', rule, {
341391 output : null ,
342392 options : [ 'always' , { exceptions : [ '*' , '++' ] } ] ,
343393 errors : [
344- 'Expected space after exception block.' ,
394+ {
395+ message : 'Expected space after exception block.' ,
396+ line : 3 ,
397+ column : 20 ,
398+ endLine : 3 ,
399+ endColumn : 20
400+ } ,
345401 {
346402 message : 'Expected space before exception block.' ,
347403 line : 3 ,
348- column : 28
404+ column : 28 ,
405+ endLine : 3 ,
406+ endColumn : 28
349407 }
350408 ]
351409 }
0 commit comments