@@ -40,7 +40,10 @@ tester.run('brace-style', rule, {
40
40
{
41
41
message :
42
42
'Opening curly brace does not appear on the same line as controlling statement.' ,
43
- line : 4
43
+ line : 4 ,
44
+ column : 11 ,
45
+ endLine : 4 ,
46
+ endColumn : 12
44
47
}
45
48
]
46
49
} ,
@@ -58,12 +61,18 @@ tester.run('brace-style', rule, {
58
61
errors : [
59
62
{
60
63
message : 'Statement inside of curly braces should be on next line.' ,
61
- line : 3
64
+ line : 3 ,
65
+ column : 38 ,
66
+ endLine : 3 ,
67
+ endColumn : 39
62
68
} ,
63
69
{
64
70
message :
65
71
'Closing curly brace should be on the same line as opening curly brace or on the line after the previous block.' ,
66
- line : 3
72
+ line : 3 ,
73
+ column : 53 ,
74
+ endLine : 3 ,
75
+ endColumn : 54
67
76
}
68
77
]
69
78
} ,
@@ -74,11 +83,19 @@ return(1)
74
83
})()" /></template>` ,
75
84
errors : [
76
85
{
77
- message : 'Statement inside of curly braces should be on next line.'
86
+ message : 'Statement inside of curly braces should be on next line.' ,
87
+ line : 1 ,
88
+ column : 57 ,
89
+ endLine : 1 ,
90
+ endColumn : 58
78
91
} ,
79
92
{
80
93
message :
81
- 'Closing curly brace should be on the same line as opening curly brace or on the line after the previous block.'
94
+ 'Closing curly brace should be on the same line as opening curly brace or on the line after the previous block.' ,
95
+ line : 1 ,
96
+ column : 67 ,
97
+ endLine : 1 ,
98
+ endColumn : 68
82
99
}
83
100
]
84
101
}
0 commit comments