@@ -207,13 +207,15 @@ tester.run('html-comment-content-spacing', rule, {
207
207
message : "Expected space after '<!--'." ,
208
208
line : 3 ,
209
209
column : 15 ,
210
- endColumn : 15
210
+ endColumn : 15 ,
211
+ endLine : 3
211
212
} ,
212
213
{
213
214
message : "Expected space before '-->'." ,
214
215
line : 3 ,
215
216
column : 22 ,
216
- endColumn : 22
217
+ endColumn : 22 ,
218
+ endLine : 3
217
219
}
218
220
]
219
221
} ,
@@ -234,13 +236,15 @@ tester.run('html-comment-content-spacing', rule, {
234
236
message : "Unexpected space after '<!--'." ,
235
237
line : 3 ,
236
238
column : 15 ,
237
- endColumn : 16
239
+ endColumn : 16 ,
240
+ endLine : 3
238
241
} ,
239
242
{
240
243
message : "Unexpected space before '-->'." ,
241
244
line : 3 ,
242
245
column : 23 ,
243
- endColumn : 24
246
+ endColumn : 24 ,
247
+ endLine : 3
244
248
}
245
249
]
246
250
} ,
@@ -261,13 +265,15 @@ tester.run('html-comment-content-spacing', rule, {
261
265
message : "Unexpected space after '<!--'." ,
262
266
line : 3 ,
263
267
column : 15 ,
264
- endColumn : 23
268
+ endColumn : 23 ,
269
+ endLine : 3
265
270
} ,
266
271
{
267
272
message : "Unexpected space before '-->'." ,
268
273
line : 3 ,
269
274
column : 30 ,
270
- endColumn : 38
275
+ endColumn : 38 ,
276
+ endLine : 3
271
277
}
272
278
]
273
279
} ,
@@ -281,8 +287,20 @@ tester.run('html-comment-content-spacing', rule, {
281
287
output : null ,
282
288
options : [ 'always' , { exceptions : [ '+' ] } ] ,
283
289
errors : [
284
- 'Expected space after exception block.' ,
285
- 'Expected space before exception block.'
290
+ {
291
+ message : 'Expected space after exception block.' ,
292
+ line : 3 ,
293
+ column : 31 ,
294
+ endLine : 3 ,
295
+ endColumn : 31
296
+ } ,
297
+ {
298
+ message : 'Expected space before exception block.' ,
299
+ line : 3 ,
300
+ column : 38 ,
301
+ endLine : 3 ,
302
+ endColumn : 38
303
+ }
286
304
]
287
305
} ,
288
306
{
@@ -294,8 +312,20 @@ tester.run('html-comment-content-spacing', rule, {
294
312
output : null ,
295
313
options : [ 'always' , { exceptions : [ '*' ] } ] ,
296
314
errors : [
297
- 'Expected space after exception block.' ,
298
- 'Expected space before exception block.'
315
+ {
316
+ message : 'Expected space after exception block.' ,
317
+ line : 3 ,
318
+ column : 20 ,
319
+ endLine : 3 ,
320
+ endColumn : 20
321
+ } ,
322
+ {
323
+ message : 'Expected space before exception block.' ,
324
+ line : 3 ,
325
+ column : 27 ,
326
+ endLine : 3 ,
327
+ endColumn : 27
328
+ }
299
329
]
300
330
} ,
301
331
{
@@ -311,8 +341,20 @@ tester.run('html-comment-content-spacing', rule, {
311
341
` ,
312
342
options : [ 'always' , { exceptions : [ '#+#-' ] } ] ,
313
343
errors : [
314
- 'Expected space after exception block.' ,
315
- "Expected space before '-->'."
344
+ {
345
+ message : 'Expected space after exception block.' ,
346
+ line : 3 ,
347
+ column : 27 ,
348
+ endLine : 3 ,
349
+ endColumn : 27
350
+ } ,
351
+ {
352
+ message : "Expected space before '-->'." ,
353
+ line : 3 ,
354
+ column : 38 ,
355
+ endLine : 3 ,
356
+ endColumn : 38
357
+ }
316
358
]
317
359
} ,
318
360
{
@@ -324,11 +366,19 @@ tester.run('html-comment-content-spacing', rule, {
324
366
output : null ,
325
367
options : [ 'always' , { exceptions : [ '*' , '++' ] } ] ,
326
368
errors : [
327
- 'Expected space after exception block.' ,
369
+ {
370
+ message : 'Expected space after exception block.' ,
371
+ line : 3 ,
372
+ column : 20 ,
373
+ endLine : 3 ,
374
+ endColumn : 20
375
+ } ,
328
376
{
329
377
message : 'Expected space before exception block.' ,
330
378
line : 3 ,
331
- column : 27
379
+ column : 27 ,
380
+ endLine : 3 ,
381
+ endColumn : 27
332
382
}
333
383
]
334
384
} ,
@@ -341,11 +391,19 @@ tester.run('html-comment-content-spacing', rule, {
341
391
output : null ,
342
392
options : [ 'always' , { exceptions : [ '*' , '++' ] } ] ,
343
393
errors : [
344
- 'Expected space after exception block.' ,
394
+ {
395
+ message : 'Expected space after exception block.' ,
396
+ line : 3 ,
397
+ column : 20 ,
398
+ endLine : 3 ,
399
+ endColumn : 20
400
+ } ,
345
401
{
346
402
message : 'Expected space before exception block.' ,
347
403
line : 3 ,
348
- column : 28
404
+ column : 28 ,
405
+ endLine : 3 ,
406
+ endColumn : 28
349
407
}
350
408
]
351
409
}
0 commit comments