@@ -264,13 +264,15 @@ tester.run('html-comment-content-newline', rule, {
264264 message : "Expected line break after '<!--'." ,
265265 line : 6 ,
266266 column : 15 ,
267- endColumn : 16
267+ endColumn : 16 ,
268+ endLine : 6
268269 } ,
269270 {
270271 message : "Expected line break before '-->'." ,
271272 line : 7 ,
272273 column : 20 ,
273- endColumn : 21
274+ endColumn : 21 ,
275+ endLine : 7
274276 }
275277 ]
276278 } ,
@@ -293,25 +295,29 @@ tester.run('html-comment-content-newline', rule, {
293295 message : "Expected line break after '<!--'." ,
294296 line : 3 ,
295297 column : 15 ,
296- endColumn : 15
298+ endColumn : 15 ,
299+ endLine : 3
297300 } ,
298301 {
299302 message : "Expected line break before '-->'." ,
300303 line : 3 ,
301304 column : 22 ,
302- endColumn : 22
305+ endColumn : 22 ,
306+ endLine : 3
303307 } ,
304308 {
305309 message : "Expected line break after '<!--'." ,
306310 line : 4 ,
307311 column : 15 ,
308- endColumn : 17
312+ endColumn : 17 ,
313+ endLine : 4
309314 } ,
310315 {
311316 message : "Expected line break before '-->'." ,
312317 line : 4 ,
313318 column : 24 ,
314- endColumn : 26
319+ endColumn : 26 ,
320+ endLine : 4
315321 }
316322 ]
317323 } ,
@@ -363,13 +369,15 @@ comment
363369 message : "Expected line break after '<!--'." ,
364370 line : 3 ,
365371 column : 15 ,
366- endColumn : 23
372+ endColumn : 23 ,
373+ endLine : 3
367374 } ,
368375 {
369376 message : "Expected line break before '-->'." ,
370377 line : 3 ,
371378 column : 30 ,
372- endColumn : 38
379+ endColumn : 38 ,
380+ endLine : 3
373381 }
374382 ]
375383 } ,
@@ -383,8 +391,20 @@ comment
383391 output : null ,
384392 options : [ 'always' , { exceptions : [ '+' ] } ] ,
385393 errors : [
386- 'Expected line break after exception block.' ,
387- 'Expected line break before exception block.'
394+ {
395+ message : 'Expected line break after exception block.' ,
396+ line : 3 ,
397+ column : 31 ,
398+ endLine : 3 ,
399+ endColumn : 31
400+ } ,
401+ {
402+ message : 'Expected line break before exception block.' ,
403+ line : 3 ,
404+ column : 38 ,
405+ endLine : 3 ,
406+ endColumn : 38
407+ }
388408 ]
389409 } ,
390410 {
@@ -396,8 +416,20 @@ comment
396416 output : null ,
397417 options : [ 'always' , { exceptions : [ '*' ] } ] ,
398418 errors : [
399- 'Expected line break after exception block.' ,
400- 'Expected line break before exception block.'
419+ {
420+ message : 'Expected line break after exception block.' ,
421+ line : 3 ,
422+ column : 20 ,
423+ endLine : 3 ,
424+ endColumn : 20
425+ } ,
426+ {
427+ message : 'Expected line break before exception block.' ,
428+ line : 3 ,
429+ column : 27 ,
430+ endLine : 3 ,
431+ endColumn : 27
432+ }
401433 ]
402434 } ,
403435 {
@@ -413,8 +445,20 @@ comment
413445 ` ,
414446 options : [ 'always' , { exceptions : [ '#+#-' ] } ] ,
415447 errors : [
416- 'Expected line break after exception block.' ,
417- "Expected line break before '-->'."
448+ {
449+ message : 'Expected line break after exception block.' ,
450+ line : 3 ,
451+ column : 27 ,
452+ endLine : 3 ,
453+ endColumn : 27
454+ } ,
455+ {
456+ message : "Expected line break before '-->'." ,
457+ line : 3 ,
458+ column : 38 ,
459+ endLine : 3 ,
460+ endColumn : 38
461+ }
418462 ]
419463 } ,
420464 {
@@ -426,11 +470,19 @@ comment
426470 output : null ,
427471 options : [ 'always' , { exceptions : [ '*' , '++' ] } ] ,
428472 errors : [
429- 'Expected line break after exception block.' ,
473+ {
474+ message : 'Expected line break after exception block.' ,
475+ line : 3 ,
476+ column : 20 ,
477+ endLine : 3 ,
478+ endColumn : 20
479+ } ,
430480 {
431481 message : 'Expected line break before exception block.' ,
432482 line : 3 ,
433- column : 27
483+ column : 27 ,
484+ endLine : 3 ,
485+ endColumn : 27
434486 }
435487 ]
436488 } ,
@@ -443,11 +495,19 @@ comment
443495 output : null ,
444496 options : [ 'always' , { exceptions : [ '*' , '++' ] } ] ,
445497 errors : [
446- 'Expected line break after exception block.' ,
498+ {
499+ message : 'Expected line break after exception block.' ,
500+ line : 3 ,
501+ column : 20 ,
502+ endLine : 3 ,
503+ endColumn : 20
504+ } ,
447505 {
448506 message : 'Expected line break before exception block.' ,
449507 line : 3 ,
450- column : 28
508+ column : 28 ,
509+ endLine : 3 ,
510+ endColumn : 28
451511 }
452512 ]
453513 }
0 commit comments