@@ -276,12 +276,16 @@ ruleTester.run("no-trailing-spaces", rule, {
276
276
message : "Trailing spaces not allowed." ,
277
277
type : "Program" ,
278
278
line : 1 ,
279
- column : 11
279
+ column : 11 ,
280
+ endLine : 1 ,
281
+ endColumn : 12
280
282
} , {
281
283
message : "Trailing spaces not allowed." ,
282
284
type : "Program" ,
283
285
line : 2 ,
284
- column : 8
286
+ column : 8 ,
287
+ endLine : 2 ,
288
+ endColumn : 9
285
289
} ]
286
290
} ,
287
291
{
@@ -292,7 +296,9 @@ ruleTester.run("no-trailing-spaces", rule, {
292
296
message : "Trailing spaces not allowed." ,
293
297
type : "Program" ,
294
298
line : 1 ,
295
- column : 11
299
+ column : 11 ,
300
+ endLine : 1 ,
301
+ endColumn : 12
296
302
} ]
297
303
} ,
298
304
{
@@ -303,7 +309,9 @@ ruleTester.run("no-trailing-spaces", rule, {
303
309
message : "Trailing spaces not allowed." ,
304
310
type : "Program" ,
305
311
line : 1 ,
306
- column : 1
312
+ column : 1 ,
313
+ endLine : 1 ,
314
+ endColumn : 6
307
315
} ]
308
316
} ,
309
317
{
@@ -325,7 +333,9 @@ ruleTester.run("no-trailing-spaces", rule, {
325
333
message : "Trailing spaces not allowed." ,
326
334
type : "Program" ,
327
335
line : 1 ,
328
- column : 15 // there are invalid spaces in columns 15 and 16
336
+ column : 15 , // there are invalid spaces in columns 15 and 16
337
+ endLine : 1 ,
338
+ endColumn : 17
329
339
} ]
330
340
} ,
331
341
{
@@ -339,13 +349,17 @@ ruleTester.run("no-trailing-spaces", rule, {
339
349
message : "Trailing spaces not allowed." ,
340
350
type : "Program" ,
341
351
line : 1 ,
342
- column : 15
352
+ column : 15 ,
353
+ endLine : 1 ,
354
+ endColumn : 18
343
355
} ,
344
356
{
345
357
message : "Trailing spaces not allowed." ,
346
358
type : "Program" ,
347
359
line : 2 ,
348
- column : 15
360
+ column : 15 ,
361
+ endLine : 2 ,
362
+ endColumn : 17
349
363
}
350
364
]
351
365
} ,
@@ -357,7 +371,9 @@ ruleTester.run("no-trailing-spaces", rule, {
357
371
message : "Trailing spaces not allowed." ,
358
372
type : "Program" ,
359
373
line : 3 ,
360
- column : 7
374
+ column : 7 ,
375
+ endLine : 3 ,
376
+ endColumn : 9
361
377
} ]
362
378
} ,
363
379
{
@@ -369,13 +385,17 @@ ruleTester.run("no-trailing-spaces", rule, {
369
385
message : "Trailing spaces not allowed." ,
370
386
type : "Program" ,
371
387
line : 4 ,
372
- column : 7
388
+ column : 7 ,
389
+ endLine : 4 ,
390
+ endColumn : 9
373
391
} ,
374
392
{
375
393
message : "Trailing spaces not allowed." ,
376
394
type : "Program" ,
377
395
line : 5 ,
378
- column : 1
396
+ column : 1 ,
397
+ endLine : 5 ,
398
+ endColumn : 2
379
399
}
380
400
]
381
401
} ,
@@ -388,7 +408,9 @@ ruleTester.run("no-trailing-spaces", rule, {
388
408
message : "Trailing spaces not allowed." ,
389
409
type : "Program" ,
390
410
line : 4 ,
391
- column : 7
411
+ column : 7 ,
412
+ endLine : 4 ,
413
+ endColumn : 9
392
414
}
393
415
]
394
416
} ,
@@ -404,7 +426,9 @@ ruleTester.run("no-trailing-spaces", rule, {
404
426
message : "Trailing spaces not allowed." ,
405
427
type : "Program" ,
406
428
line : 3 ,
407
- column : 7
429
+ column : 7 ,
430
+ endLine : 3 ,
431
+ endColumn : 9
408
432
}
409
433
]
410
434
} ,
@@ -419,7 +443,9 @@ ruleTester.run("no-trailing-spaces", rule, {
419
443
message : "Trailing spaces not allowed." ,
420
444
type : "Program" ,
421
445
line : 2 ,
422
- column : 8
446
+ column : 8 ,
447
+ endLine : 2 ,
448
+ endColumn : 9
423
449
}
424
450
]
425
451
} ,
@@ -431,13 +457,17 @@ ruleTester.run("no-trailing-spaces", rule, {
431
457
message : "Trailing spaces not allowed." ,
432
458
type : "Program" ,
433
459
line : 1 ,
434
- column : 1
460
+ column : 1 ,
461
+ endLine : 1 ,
462
+ endColumn : 5
435
463
} ,
436
464
{
437
465
message : "Trailing spaces not allowed." ,
438
466
type : "Program" ,
439
467
line : 2 ,
440
- column : 8
468
+ column : 8 ,
469
+ endLine : 2 ,
470
+ endColumn : 9
441
471
}
442
472
]
443
473
} ,
@@ -452,7 +482,9 @@ ruleTester.run("no-trailing-spaces", rule, {
452
482
message : "Trailing spaces not allowed." ,
453
483
type : "Program" ,
454
484
line : 1 ,
455
- column : 17
485
+ column : 17 ,
486
+ endLine : 1 ,
487
+ endColumn : 18
456
488
}
457
489
]
458
490
} ,
@@ -517,7 +549,9 @@ ruleTester.run("no-trailing-spaces", rule, {
517
549
message : "Trailing spaces not allowed." ,
518
550
type : "Program" ,
519
551
line : 1 ,
520
- column : 26
552
+ column : 26 ,
553
+ endLine : 1 ,
554
+ endColumn : 27
521
555
}
522
556
]
523
557
} ,
@@ -530,13 +564,17 @@ ruleTester.run("no-trailing-spaces", rule, {
530
564
message : "Trailing spaces not allowed." ,
531
565
type : "Program" ,
532
566
line : 1 ,
533
- column : 3
567
+ column : 3 ,
568
+ endLine : 1 ,
569
+ endColumn : 4
534
570
} ,
535
571
{
536
572
message : "Trailing spaces not allowed." ,
537
573
type : "Program" ,
538
574
line : 2 ,
539
- column : 24
575
+ column : 24 ,
576
+ endLine : 2 ,
577
+ endColumn : 25
540
578
}
541
579
]
542
580
} ,
@@ -549,7 +587,9 @@ ruleTester.run("no-trailing-spaces", rule, {
549
587
message : "Trailing spaces not allowed." ,
550
588
type : "Program" ,
551
589
line : 1 ,
552
- column : 20
590
+ column : 20 ,
591
+ endLine : 1 ,
592
+ endColumn : 21
553
593
}
554
594
]
555
595
} ,
@@ -562,7 +602,9 @@ ruleTester.run("no-trailing-spaces", rule, {
562
602
message : "Trailing spaces not allowed." ,
563
603
type : "Program" ,
564
604
line : 1 ,
565
- column : 34
605
+ column : 34 ,
606
+ endLine : 1 ,
607
+ endColumn : 35
566
608
}
567
609
]
568
610
}
0 commit comments