@@ -184,7 +184,7 @@ describe('Validate: Variables are in allowed positions', () => {
184
184
}
185
185
` , [
186
186
{ message : badVarPosMessage ( 'intArg' , 'Int' , 'Int!' ) ,
187
- locations : [ { line : 4 , column : 45 } , { line : 2 , column : 19 } ] } ,
187
+ locations : [ { line : 2 , column : 19 } , { line : 4 , column : 45 } ] } ,
188
188
] ) ;
189
189
} ) ;
190
190
@@ -201,7 +201,7 @@ describe('Validate: Variables are in allowed positions', () => {
201
201
}
202
202
` , [
203
203
{ message : badVarPosMessage ( 'intArg' , 'Int' , 'Int!' ) ,
204
- locations : [ { line : 3 , column : 43 } , { line : 6 , column : 19 } ] }
204
+ locations : [ { line : 6 , column : 19 } , { line : 3 , column : 43 } ] }
205
205
] ) ;
206
206
} ) ;
207
207
@@ -222,7 +222,7 @@ describe('Validate: Variables are in allowed positions', () => {
222
222
}
223
223
` , [
224
224
{ message : badVarPosMessage ( 'intArg' , 'Int' , 'Int!' ) ,
225
- locations : [ { line : 7 , column : 43 } , { line : 10 , column : 19 } ] }
225
+ locations : [ { line : 10 , column : 19 } , { line : 7 , column : 43 } ] }
226
226
] ) ;
227
227
} ) ;
228
228
@@ -235,7 +235,7 @@ describe('Validate: Variables are in allowed positions', () => {
235
235
}
236
236
` , [
237
237
{ message : badVarPosMessage ( 'stringVar' , 'String' , 'Boolean' ) ,
238
- locations : [ { line : 4 , column : 39 } , { line : 2 , column : 19 } ] }
238
+ locations : [ { line : 2 , column : 19 } , { line : 4 , column : 39 } ] }
239
239
] ) ;
240
240
} ) ;
241
241
@@ -248,7 +248,7 @@ describe('Validate: Variables are in allowed positions', () => {
248
248
}
249
249
` , [
250
250
{ message : badVarPosMessage ( 'stringVar' , 'String' , '[String]' ) ,
251
- locations : [ { line : 4 , column : 45 } , { line : 2 , column : 19 } ] }
251
+ locations : [ { line : 2 , column : 19 } , { line : 4 , column : 45 } ] }
252
252
] ) ;
253
253
} ) ;
254
254
@@ -259,7 +259,7 @@ describe('Validate: Variables are in allowed positions', () => {
259
259
}
260
260
` , [
261
261
{ message : badVarPosMessage ( 'boolVar' , 'Boolean' , 'Boolean!' ) ,
262
- locations : [ { line : 3 , column : 26 } , { line : 2 , column : 19 } ] }
262
+ locations : [ { line : 2 , column : 19 } , { line : 3 , column : 26 } ] }
263
263
] ) ;
264
264
} ) ;
265
265
@@ -270,7 +270,7 @@ describe('Validate: Variables are in allowed positions', () => {
270
270
}
271
271
` , [
272
272
{ message : badVarPosMessage ( 'stringVar' , 'String' , 'Boolean!' ) ,
273
- locations : [ { line : 3 , column : 26 } , { line : 2 , column : 19 } ] }
273
+ locations : [ { line : 2 , column : 19 } , { line : 3 , column : 26 } ] }
274
274
] ) ;
275
275
} ) ;
276
276
0 commit comments