@@ -137,37 +137,49 @@ tester.run('next-tick-style', rule, {
137137 message :
138138 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
139139 line : 4 ,
140- column : 16
140+ column : 16 ,
141+ endLine : 4 ,
142+ endColumn : 25
141143 } ,
142144 {
143145 message :
144146 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
145147 line : 5 ,
146- column : 15
148+ column : 15 ,
149+ endLine : 5 ,
150+ endColumn : 23
147151 } ,
148152 {
149153 message :
150154 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
151155 line : 6 ,
152- column : 11
156+ column : 11 ,
157+ endLine : 6 ,
158+ endColumn : 13
153159 } ,
154160 {
155161 message :
156162 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
157163 line : 8 ,
158- column : 16
164+ column : 16 ,
165+ endLine : 8 ,
166+ endColumn : 25
159167 } ,
160168 {
161169 message :
162170 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
163171 line : 9 ,
164- column : 15
172+ column : 15 ,
173+ endLine : 9 ,
174+ endColumn : 23
165175 } ,
166176 {
167177 message :
168178 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
169179 line : 10 ,
170- column : 11
180+ column : 11 ,
181+ endLine : 10 ,
182+ endColumn : 13
171183 }
172184 ]
173185 } ,
@@ -203,37 +215,49 @@ tester.run('next-tick-style', rule, {
203215 message :
204216 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
205217 line : 4 ,
206- column : 16
218+ column : 16 ,
219+ endLine : 4 ,
220+ endColumn : 25
207221 } ,
208222 {
209223 message :
210224 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
211225 line : 5 ,
212- column : 15
226+ column : 15 ,
227+ endLine : 5 ,
228+ endColumn : 23
213229 } ,
214230 {
215231 message :
216232 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
217233 line : 6 ,
218- column : 11
234+ column : 11 ,
235+ endLine : 6 ,
236+ endColumn : 13
219237 } ,
220238 {
221239 message :
222240 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
223241 line : 8 ,
224- column : 16
242+ column : 16 ,
243+ endLine : 8 ,
244+ endColumn : 25
225245 } ,
226246 {
227247 message :
228248 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
229249 line : 9 ,
230- column : 15
250+ column : 15 ,
251+ endLine : 9 ,
252+ endColumn : 23
231253 } ,
232254 {
233255 message :
234256 'Use the Promise returned by `nextTick` instead of passing a callback function.' ,
235257 line : 10 ,
236- column : 11
258+ column : 11 ,
259+ endLine : 10 ,
260+ endColumn : 13
237261 }
238262 ]
239263 } ,
@@ -258,37 +282,49 @@ tester.run('next-tick-style', rule, {
258282 message :
259283 'Pass a callback function to `nextTick` instead of using the returned Promise.' ,
260284 line : 4 ,
261- column : 16
285+ column : 16 ,
286+ endLine : 4 ,
287+ endColumn : 25
262288 } ,
263289 {
264290 message :
265291 'Pass a callback function to `nextTick` instead of using the returned Promise.' ,
266292 line : 5 ,
267- column : 15
293+ column : 15 ,
294+ endLine : 5 ,
295+ endColumn : 23
268296 } ,
269297 {
270298 message :
271299 'Pass a callback function to `nextTick` instead of using the returned Promise.' ,
272300 line : 6 ,
273- column : 11
301+ column : 11 ,
302+ endLine : 6 ,
303+ endColumn : 13
274304 } ,
275305 {
276306 message :
277307 'Pass a callback function to `nextTick` instead of using the returned Promise.' ,
278308 line : 8 ,
279- column : 22
309+ column : 22 ,
310+ endLine : 8 ,
311+ endColumn : 31
280312 } ,
281313 {
282314 message :
283315 'Pass a callback function to `nextTick` instead of using the returned Promise.' ,
284316 line : 9 ,
285- column : 21
317+ column : 21 ,
318+ endLine : 9 ,
319+ endColumn : 29
286320 } ,
287321 {
288322 message :
289323 'Pass a callback function to `nextTick` instead of using the returned Promise.' ,
290324 line : 10 ,
291- column : 17
325+ column : 17 ,
326+ endLine : 10 ,
327+ endColumn : 19
292328 }
293329 ]
294330 }
0 commit comments