@@ -215,16 +215,25 @@ describe("sortRules", () => {
215215 {
216216 type : "declaration" ,
217217 property : "bar" ,
218- value : "3 " ,
218+ value : "1 " ,
219219 position : {
220- start : { line : 3 , column : 3 } ,
221- end : { line : 3 , column : 9 } ,
220+ start : { line : 11 , column : 3 } ,
221+ end : { line : 11 , column : 9 } ,
222+ } ,
223+ } ,
224+ {
225+ type : "declaration" ,
226+ property : "bar" ,
227+ value : "2" ,
228+ position : {
229+ start : { line : 12 , column : 3 } ,
230+ end : { line : 12 , column : 9 } ,
222231 } ,
223232 } ,
224233 ] ,
225234 position : {
226- start : { line : 2 , column : 1 } ,
227- end : { line : 4 , column : 2 } ,
235+ start : { line : 10 , column : 1 } ,
236+ end : { line : 13 , column : 2 } ,
228237 } ,
229238 } ,
230239 {
@@ -253,25 +262,16 @@ describe("sortRules", () => {
253262 {
254263 type : "declaration" ,
255264 property : "bar" ,
256- value : "1" ,
257- position : {
258- start : { line : 11 , column : 3 } ,
259- end : { line : 11 , column : 9 } ,
260- } ,
261- } ,
262- {
263- type : "declaration" ,
264- property : "bar" ,
265- value : "2" ,
265+ value : "3" ,
266266 position : {
267- start : { line : 12 , column : 3 } ,
268- end : { line : 12 , column : 9 } ,
267+ start : { line : 3 , column : 3 } ,
268+ end : { line : 3 , column : 9 } ,
269269 } ,
270270 } ,
271271 ] ,
272272 position : {
273- start : { line : 10 , column : 1 } ,
274- end : { line : 13 , column : 2 } ,
273+ start : { line : 2 , column : 1 } ,
274+ end : { line : 4 , column : 2 } ,
275275 } ,
276276 } ,
277277 ] ) ,
0 commit comments