@@ -150,7 +150,8 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
150150 column : 10 ,
151151 line : 2 ,
152152 rule : "jsDoc" ,
153- filename : "input"
153+ filename : "input" ,
154+ fixed : undefined
154155 }
155156 ]
156157 } , {
@@ -172,14 +173,16 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
172173 column : 14 ,
173174 line : 3 ,
174175 rule : "jsDoc" ,
175- filename : "input"
176+ filename : "input" ,
177+ fixed : undefined
176178 } ,
177179 {
178180 message : 'Parameters yyy and xxx are out of order' ,
179181 column : 14 ,
180182 line : 4 ,
181183 rule : "jsDoc" ,
182- filename : "input"
184+ filename : "input" ,
185+ fixed : undefined
183186 }
184187 ]
185188 } , {
@@ -195,8 +198,8 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
195198 } ;
196199 } ,
197200 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 }
200203 ]
201204 } , {
202205 it : 'should report out of order and expected v2' ,
@@ -211,8 +214,8 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
211214 } ;
212215 } ,
213216 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 }
216219 ]
217220 } , {
218221 it : 'should not report out of order but expected' ,
@@ -227,7 +230,7 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
227230 } ;
228231 } ,
229232 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 }
231234 ]
232235 } , {
233236 it : 'should not report wrong order' ,
@@ -307,18 +310,20 @@ describe('lib/rules/validate-jsdoc/check-param-names', function() {
307310 } ,
308311 errors : [
309312 {
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
315319 } ,
316320 {
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
322327 }
323328 ]
324329 } , {
0 commit comments