@@ -504,22 +504,34 @@ tester.run('html-comment-indent', rule, {
504
504
{
505
505
message :
506
506
'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
508
511
} ,
509
512
{
510
513
message :
511
514
'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
513
519
} ,
514
520
{
515
521
message :
516
522
'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
518
527
} ,
519
528
{
520
529
message :
521
530
'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
523
535
}
524
536
]
525
537
} ,
@@ -544,12 +556,18 @@ tester.run('html-comment-indent', rule, {
544
556
{
545
557
message :
546
558
'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
548
563
} ,
549
564
{
550
565
message :
551
566
'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
553
571
}
554
572
]
555
573
} ,
@@ -575,15 +593,24 @@ comment -->
575
593
errors : [
576
594
{
577
595
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
579
600
} ,
580
601
{
581
602
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
583
607
} ,
584
608
{
585
609
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
587
614
}
588
615
]
589
616
} ,
@@ -610,17 +637,26 @@ comment -->
610
637
{
611
638
message :
612
639
'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
614
644
} ,
615
645
{
616
646
message :
617
647
'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
619
652
} ,
620
653
{
621
654
message :
622
655
'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
624
660
}
625
661
]
626
662
} ,
@@ -643,12 +679,18 @@ comment -->
643
679
{
644
680
message :
645
681
'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
647
686
} ,
648
687
{
649
688
message :
650
689
'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
652
694
}
653
695
]
654
696
} ,
@@ -670,11 +712,17 @@ comment -->
670
712
errors : [
671
713
{
672
714
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
674
719
} ,
675
720
{
676
721
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
678
726
}
679
727
]
680
728
}
0 commit comments