@@ -504,22 +504,34 @@ tester.run('html-comment-indent', rule, {
504504 {
505505 message :
506506 'Expected relative indentation of 2 spaces but found 0 spaces.' ,
507- line : 5
507+ line : 5 ,
508+ column : 11 ,
509+ endLine : 5 ,
510+ endColumn : 11
508511 } ,
509512 {
510513 message :
511514 'Expected relative indentation of 2 spaces but found 4 spaces.' ,
512- line : 7
515+ line : 7 ,
516+ column : 11 ,
517+ endLine : 7 ,
518+ endColumn : 15
513519 } ,
514520 {
515521 message :
516522 'Expected relative indentation of 0 spaces but found 2 spaces.' ,
517- line : 12
523+ line : 12 ,
524+ column : 11 ,
525+ endLine : 12 ,
526+ endColumn : 13
518527 } ,
519528 {
520529 message :
521530 'Expected base point indentation of 10 spaces, but found 8 spaces.' ,
522- line : 14
531+ line : 14 ,
532+ column : 1 ,
533+ endLine : 14 ,
534+ endColumn : 9
523535 }
524536 ]
525537 } ,
@@ -544,12 +556,18 @@ tester.run('html-comment-indent', rule, {
544556 {
545557 message :
546558 'Expected relative indentation of 2 spaces but found 0 spaces.' ,
547- line : 4
559+ line : 4 ,
560+ column : 11 ,
561+ endLine : 4 ,
562+ endColumn : 11
548563 } ,
549564 {
550565 message :
551566 'Expected relative indentation of 2 spaces but found 4 spaces.' ,
552- line : 6
567+ line : 6 ,
568+ column : 11 ,
569+ endLine : 6 ,
570+ endColumn : 15
553571 }
554572 ]
555573 } ,
@@ -575,15 +593,24 @@ comment -->
575593 errors : [
576594 {
577595 message : 'Expected indentation of 2 spaces but found 0 spaces.' ,
578- line : 4
596+ line : 4 ,
597+ column : 1 ,
598+ endLine : 4 ,
599+ endColumn : 1
579600 } ,
580601 {
581602 message : 'Expected indentation of 2 spaces but found 0 spaces.' ,
582- line : 5
603+ line : 5 ,
604+ column : 1 ,
605+ endLine : 5 ,
606+ endColumn : 1
583607 } ,
584608 {
585609 message : 'Expected indentation of 0 spaces but found 2 spaces.' ,
586- line : 7
610+ line : 7 ,
611+ column : 1 ,
612+ endLine : 7 ,
613+ endColumn : 3
587614 }
588615 ]
589616 } ,
@@ -610,17 +637,26 @@ comment -->
610637 {
611638 message :
612639 'Expected base point indentation of 2 spaces, but not found.' ,
613- line : 4
640+ line : 4 ,
641+ column : 1 ,
642+ endLine : 4 ,
643+ endColumn : 1
614644 } ,
615645 {
616646 message :
617647 'Expected base point indentation of 2 spaces, but not found.' ,
618- line : 5
648+ line : 5 ,
649+ column : 1 ,
650+ endLine : 5 ,
651+ endColumn : 1
619652 } ,
620653 {
621654 message :
622655 'Expected base point indentation of 2 spaces, but not found.' ,
623- line : 7
656+ line : 7 ,
657+ column : 1 ,
658+ endLine : 7 ,
659+ endColumn : 1
624660 }
625661 ]
626662 } ,
@@ -643,12 +679,18 @@ comment -->
643679 {
644680 message :
645681 'Expected relative indentation of 2 spaces but found 1 space.' ,
646- line : 4
682+ line : 4 ,
683+ column : 11 ,
684+ endLine : 4 ,
685+ endColumn : 12
647686 } ,
648687 {
649688 message :
650689 'Expected relative indentation of 0 spaces but found 1 space.' ,
651- line : 5
690+ line : 5 ,
691+ column : 11 ,
692+ endLine : 5 ,
693+ endColumn : 12
652694 }
653695 ]
654696 } ,
@@ -670,11 +712,17 @@ comment -->
670712 errors : [
671713 {
672714 message : String . raw `Expected base point indentation of " \t \t \t ", but found 7 spaces.` ,
673- line : 4
715+ line : 4 ,
716+ column : 1 ,
717+ endLine : 4 ,
718+ endColumn : 13
674719 } ,
675720 {
676721 message : String . raw `Expected base point indentation of " \t \t \t ", but found 7 spaces.` ,
677- line : 5
722+ line : 5 ,
723+ column : 1 ,
724+ endLine : 5 ,
725+ endColumn : 11
678726 }
679727 ]
680728 }
0 commit comments