@@ -174,8 +174,22 @@ tester.run('html-closing-bracket-newline', rule, {
174
174
</template>
175
175
` ,
176
176
errors : [
177
- 'Expected no line breaks before closing bracket, but 1 line break found.' ,
178
- 'Expected no line breaks before closing bracket, but 2 line breaks found.'
177
+ {
178
+ message :
179
+ 'Expected no line breaks before closing bracket, but 1 line break found.' ,
180
+ line : 3 ,
181
+ column : 15 ,
182
+ endLine : 4 ,
183
+ endColumn : 11
184
+ } ,
185
+ {
186
+ message :
187
+ 'Expected no line breaks before closing bracket, but 2 line breaks found.' ,
188
+ line : 4 ,
189
+ column : 17 ,
190
+ endLine : 6 ,
191
+ endColumn : 11
192
+ }
179
193
]
180
194
} ,
181
195
{
@@ -195,7 +209,14 @@ tester.run('html-closing-bracket-newline', rule, {
195
209
</template>
196
210
` ,
197
211
errors : [
198
- 'Expected 1 line break before closing bracket, but no line breaks found.'
212
+ {
213
+ message :
214
+ 'Expected 1 line break before closing bracket, but no line breaks found.' ,
215
+ line : 4 ,
216
+ column : 18 ,
217
+ endLine : 4 ,
218
+ endColumn : 18
219
+ }
199
220
]
200
221
} ,
201
222
{
@@ -219,8 +240,22 @@ tester.run('html-closing-bracket-newline', rule, {
219
240
}
220
241
] ,
221
242
errors : [
222
- 'Expected no line breaks before closing bracket, but 1 line break found.' ,
223
- 'Expected no line breaks before closing bracket, but 2 line breaks found.'
243
+ {
244
+ message :
245
+ 'Expected no line breaks before closing bracket, but 1 line break found.' ,
246
+ line : 3 ,
247
+ column : 15 ,
248
+ endLine : 4 ,
249
+ endColumn : 11
250
+ } ,
251
+ {
252
+ message :
253
+ 'Expected no line breaks before closing bracket, but 2 line breaks found.' ,
254
+ line : 4 ,
255
+ column : 17 ,
256
+ endLine : 6 ,
257
+ endColumn : 11
258
+ }
224
259
]
225
260
} ,
226
261
{
@@ -246,7 +281,14 @@ tester.run('html-closing-bracket-newline', rule, {
246
281
}
247
282
] ,
248
283
errors : [
249
- 'Expected no line breaks before closing bracket, but 1 line break found.'
284
+ {
285
+ message :
286
+ 'Expected no line breaks before closing bracket, but 1 line break found.' ,
287
+ line : 4 ,
288
+ column : 18 ,
289
+ endLine : 5 ,
290
+ endColumn : 13
291
+ }
250
292
]
251
293
} ,
252
294
{
@@ -272,7 +314,14 @@ tester.run('html-closing-bracket-newline', rule, {
272
314
}
273
315
] ,
274
316
errors : [
275
- 'Expected 1 line break before closing bracket, but no line breaks found.'
317
+ {
318
+ message :
319
+ 'Expected 1 line break before closing bracket, but no line breaks found.' ,
320
+ line : 4 ,
321
+ column : 18 ,
322
+ endLine : 4 ,
323
+ endColumn : 18
324
+ }
276
325
]
277
326
} ,
278
327
{
@@ -297,8 +346,22 @@ tester.run('html-closing-bracket-newline', rule, {
297
346
}
298
347
] ,
299
348
errors : [
300
- 'Expected no line breaks before closing bracket, but 1 line break found.' ,
301
- 'Expected no line breaks before closing bracket, but 1 line break found.'
349
+ {
350
+ message :
351
+ 'Expected no line breaks before closing bracket, but 1 line break found.' ,
352
+ line : 3 ,
353
+ column : 21 ,
354
+ endLine : 4 ,
355
+ endColumn : 11
356
+ } ,
357
+ {
358
+ message :
359
+ 'Expected no line breaks before closing bracket, but 1 line break found.' ,
360
+ line : 5 ,
361
+ column : 16 ,
362
+ endLine : 6 ,
363
+ endColumn : 11
364
+ }
302
365
]
303
366
} ,
304
367
{
@@ -329,8 +392,22 @@ tester.run('html-closing-bracket-newline', rule, {
329
392
}
330
393
] ,
331
394
errors : [
332
- 'Expected no line breaks before closing bracket, but 1 line break found.' ,
333
- 'Expected 1 line break before closing bracket, but no line breaks found.'
395
+ {
396
+ message :
397
+ 'Expected no line breaks before closing bracket, but 1 line break found.' ,
398
+ line : 5 ,
399
+ column : 18 ,
400
+ endLine : 6 ,
401
+ endColumn : 13
402
+ } ,
403
+ {
404
+ message :
405
+ 'Expected 1 line break before closing bracket, but no line breaks found.' ,
406
+ line : 7 ,
407
+ column : 16 ,
408
+ endLine : 7 ,
409
+ endColumn : 16
410
+ }
334
411
]
335
412
} ,
336
413
{
@@ -359,8 +436,22 @@ tester.run('html-closing-bracket-newline', rule, {
359
436
}
360
437
] ,
361
438
errors : [
362
- 'Expected 1 line break before closing bracket, but no line breaks found.' ,
363
- 'Expected 1 line break before closing bracket, but no line breaks found.'
439
+ {
440
+ message :
441
+ 'Expected 1 line break before closing bracket, but no line breaks found.' ,
442
+ line : 4 ,
443
+ column : 21 ,
444
+ endLine : 4 ,
445
+ endColumn : 21
446
+ } ,
447
+ {
448
+ message :
449
+ 'Expected 1 line break before closing bracket, but no line breaks found.' ,
450
+ line : 5 ,
451
+ column : 16 ,
452
+ endLine : 5 ,
453
+ endColumn : 16
454
+ }
364
455
]
365
456
} ,
366
457
{
@@ -474,42 +565,48 @@ tester.run('html-closing-bracket-newline', rule, {
474
565
'Expected 1 line break before closing bracket, but no line breaks found.' ,
475
566
line : 2 ,
476
567
column : 18 ,
477
- endColumn : 18
568
+ endColumn : 18 ,
569
+ endLine : 2
478
570
} ,
479
571
{
480
572
message :
481
573
'Expected 1 line break before closing bracket, but no line breaks found.' ,
482
574
line : 3 ,
483
575
column : 19 ,
484
- endColumn : 19
576
+ endColumn : 19 ,
577
+ endLine : 3
485
578
} ,
486
579
{
487
580
message :
488
581
'Expected 1 line break before closing bracket, but no line breaks found.' ,
489
582
line : 4 ,
490
583
column : 16 ,
491
- endColumn : 16
584
+ endColumn : 16 ,
585
+ endLine : 4
492
586
} ,
493
587
{
494
588
message :
495
589
'Expected 1 line break before closing bracket, but no line breaks found.' ,
496
590
line : 5 ,
497
591
column : 17 ,
498
- endColumn : 17
592
+ endColumn : 17 ,
593
+ endLine : 5
499
594
} ,
500
595
{
501
596
message :
502
597
'Expected 1 line break before closing bracket, but no line breaks found.' ,
503
598
line : 6 ,
504
599
column : 15 ,
505
- endColumn : 15
600
+ endColumn : 15 ,
601
+ endLine : 6
506
602
} ,
507
603
{
508
604
message :
509
605
'Expected 1 line break before closing bracket, but no line breaks found.' ,
510
606
line : 6 ,
511
607
column : 23 ,
512
- endColumn : 23
608
+ endColumn : 23 ,
609
+ endLine : 6
513
610
}
514
611
]
515
612
} ,
@@ -534,7 +631,14 @@ tester.run('html-closing-bracket-newline', rule, {
534
631
}
535
632
] ,
536
633
errors : [
537
- 'Expected no line breaks before closing bracket, but 1 line break found.'
634
+ {
635
+ message :
636
+ 'Expected no line breaks before closing bracket, but 1 line break found.' ,
637
+ line : 3 ,
638
+ column : 18 ,
639
+ endLine : 4 ,
640
+ endColumn : 11
641
+ }
538
642
]
539
643
} ,
540
644
{
@@ -560,7 +664,14 @@ tester.run('html-closing-bracket-newline', rule, {
560
664
}
561
665
] ,
562
666
errors : [
563
- 'Expected 1 line break before closing bracket, but no line breaks found.'
667
+ {
668
+ message :
669
+ 'Expected 1 line break before closing bracket, but no line breaks found.' ,
670
+ line : 4 ,
671
+ column : 23 ,
672
+ endLine : 4 ,
673
+ endColumn : 23
674
+ }
564
675
]
565
676
} ,
566
677
{
@@ -584,7 +695,14 @@ tester.run('html-closing-bracket-newline', rule, {
584
695
}
585
696
] ,
586
697
errors : [
587
- 'Expected 1 line break before closing bracket, but no line breaks found.'
698
+ {
699
+ message :
700
+ 'Expected 1 line break before closing bracket, but no line breaks found.' ,
701
+ line : 3 ,
702
+ column : 29 ,
703
+ endLine : 3 ,
704
+ endColumn : 29
705
+ }
588
706
]
589
707
} ,
590
708
{
@@ -610,7 +728,14 @@ tester.run('html-closing-bracket-newline', rule, {
610
728
}
611
729
] ,
612
730
errors : [
613
- 'Expected no line breaks before closing bracket, but 1 line break found.'
731
+ {
732
+ message :
733
+ 'Expected no line breaks before closing bracket, but 1 line break found.' ,
734
+ line : 4 ,
735
+ column : 23 ,
736
+ endLine : 5 ,
737
+ endColumn : 11
738
+ }
614
739
]
615
740
}
616
741
]
0 commit comments