@@ -37,7 +37,10 @@ tester.run('block-spacing', rule, {
37
37
token : '{'
38
38
} ,
39
39
// message: 'Requires a space after \'{\'',
40
- line : 3
40
+ line : 3 ,
41
+ column : 38 ,
42
+ endLine : 3 ,
43
+ endColumn : 39
41
44
} ,
42
45
{
43
46
messageId : 'missing' ,
@@ -46,7 +49,10 @@ tester.run('block-spacing', rule, {
46
49
token : '}'
47
50
} ,
48
51
// message: 'Requires a space before \' }\'',
49
- line : 3
52
+ line : 3 ,
53
+ column : 51 ,
54
+ endLine : 3 ,
55
+ endColumn : 52
50
56
}
51
57
]
52
58
} ,
@@ -67,7 +73,10 @@ tester.run('block-spacing', rule, {
67
73
token : '{'
68
74
} ,
69
75
// message: 'Requires a space after \'{\'',
70
- line : 3
76
+ line : 3 ,
77
+ column : 33 ,
78
+ endLine : 3 ,
79
+ endColumn : 34
71
80
} ,
72
81
{
73
82
messageId : 'missing' ,
@@ -76,7 +85,10 @@ tester.run('block-spacing', rule, {
76
85
token : '}'
77
86
} ,
78
87
// message: 'Requires a space before \' }\'',
79
- line : 3
88
+ line : 3 ,
89
+ column : 46 ,
90
+ endLine : 3 ,
91
+ endColumn : 47
80
92
}
81
93
]
82
94
} ,
@@ -98,7 +110,10 @@ tester.run('block-spacing', rule, {
98
110
token : '{'
99
111
} ,
100
112
// message: 'Unexpected space(s) after \'{\'',
101
- line : 3
113
+ line : 3 ,
114
+ column : 39 ,
115
+ endLine : 3 ,
116
+ endColumn : 40
102
117
} ,
103
118
{
104
119
messageId : 'extra' ,
@@ -107,7 +122,10 @@ tester.run('block-spacing', rule, {
107
122
token : '}'
108
123
} ,
109
124
// message: 'Unexpected space(s) before \' }\'',
110
- line : 3
125
+ line : 3 ,
126
+ column : 52 ,
127
+ endLine : 3 ,
128
+ endColumn : 53
111
129
}
112
130
]
113
131
} ,
@@ -121,16 +139,24 @@ tester.run('block-spacing', rule, {
121
139
data : {
122
140
location : 'after' ,
123
141
token : '{'
124
- }
142
+ } ,
125
143
// message: 'Requires a space after \'{\'',
144
+ line : 1 ,
145
+ column : 57 ,
146
+ endLine : 1 ,
147
+ endColumn : 58
126
148
} ,
127
149
{
128
150
messageId : 'missing' ,
129
151
data : {
130
152
location : 'before' ,
131
153
token : '}'
132
- }
154
+ } ,
133
155
// message: 'Requires a space before \' }\'',
156
+ line : 1 ,
157
+ column : 67 ,
158
+ endLine : 1 ,
159
+ endColumn : 68
134
160
}
135
161
]
136
162
}
0 commit comments