@@ -150,7 +150,8 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
150
150
column : 10 ,
151
151
line : 2 ,
152
152
rule : "jsDoc" ,
153
- filename : "input"
153
+ filename : "input" ,
154
+ fixed : undefined
154
155
}
155
156
]
156
157
} , {
@@ -172,14 +173,16 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
172
173
column : 14 ,
173
174
line : 3 ,
174
175
rule : "jsDoc" ,
175
- filename : "input"
176
+ filename : "input" ,
177
+ fixed : undefined
176
178
} ,
177
179
{
178
180
message : 'Parameters yyy and xxx are out of order' ,
179
181
column : 14 ,
180
182
line : 4 ,
181
183
rule : "jsDoc" ,
182
- filename : "input"
184
+ filename : "input" ,
185
+ fixed : undefined
183
186
}
184
187
]
185
188
} , {
@@ -195,8 +198,8 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
195
198
} ;
196
199
} ,
197
200
errors : [
198
- { message : 'Parameter xxx is out of order' , column : 14 , line : 3 , rule : "jsDoc" , filename : "input" } ,
199
- { message : 'Expected xxx but got yyy' , column : 14 , line : 4 , rule : "jsDoc" , filename : "input" }
201
+ { message : 'Parameter xxx is out of order' , column : 14 , line : 3 , rule : "jsDoc" , filename : "input" , fixed : undefined } ,
202
+ { message : 'Expected xxx but got yyy' , column : 14 , line : 4 , rule : "jsDoc" , filename : "input" , fixed : undefined }
200
203
]
201
204
} , {
202
205
it : 'should report out of order and expected v2' ,
@@ -211,8 +214,8 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
211
214
} ;
212
215
} ,
213
216
errors : [
214
- { message : 'Expected yyy but got xxx' , column : 14 , line : 3 , rule : "jsDoc" , filename : "input" } ,
215
- { message : 'Parameter yyy is out of order' , column : 14 , line : 4 , rule : "jsDoc" , filename : "input" }
217
+ { message : 'Expected yyy but got xxx' , column : 14 , line : 3 , rule : "jsDoc" , filename : "input" , fixed : undefined } ,
218
+ { message : 'Parameter yyy is out of order' , column : 14 , line : 4 , rule : "jsDoc" , filename : "input" , fixed : undefined }
216
219
]
217
220
} , {
218
221
it : 'should not report out of order but expected' ,
@@ -227,7 +230,7 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
227
230
} ;
228
231
} ,
229
232
errors : [
230
- { message : 'Expected zzz but got xxx' , column : 14 , line : 3 , rule : "jsDoc" , filename : "input" }
233
+ { message : 'Expected zzz but got xxx' , column : 14 , line : 3 , rule : "jsDoc" , filename : "input" , fixed : undefined }
231
234
]
232
235
} , {
233
236
it : 'should not report wrong order' ,
@@ -307,18 +310,20 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
307
310
} ,
308
311
errors : [
309
312
{
310
- "column" : 19 ,
311
- "filename" : "input" ,
312
- "line" : 3 ,
313
- "message" : "Expected `options` but got `definetelyNotOptions`" ,
314
- "rule" : "jsDoc"
313
+ column : 19 ,
314
+ filename : 'input' ,
315
+ line : 3 ,
316
+ message : 'Expected `options` but got `definetelyNotOptions`' ,
317
+ rule : 'jsDoc' ,
318
+ fixed : undefined
315
319
} ,
316
320
{
317
- "column" : 20 ,
318
- "filename" : "input" ,
319
- "line" : 4 ,
320
- "message" : "Expected `options` but got `otherOptions`" ,
321
- "rule" : "jsDoc"
321
+ column : 20 ,
322
+ filename : 'input' ,
323
+ line : 4 ,
324
+ message : 'Expected `options` but got `otherOptions`' ,
325
+ rule : 'jsDoc' ,
326
+ fixed : undefined
322
327
}
323
328
]
324
329
} , {
0 commit comments