@@ -175,17 +175,17 @@ test('Array.set', function(t) {
175175 var mutation = mutations [ 0 ]
176176 if ( first ) {
177177 t . equal ( mutation . object , array . array , '.object' )
178- t . equal ( mutation . prop , 'length' , '.prop' )
179- t . deepEqual ( mutation . value , 6 , '.value' )
180- t . equal ( mutation . oldValue , 3 , '.oldValue' )
178+ t . equal ( mutation . prop , "5" , '.prop' )
179+ t . deepEqual ( mutation . value , [ true ] , '.value' )
180+ t . equal ( mutation . oldValue , undefined , '.oldValue' )
181181 t . deepEqual ( mutation . path , [ 2 , 'array' ] , '.path' )
182182 first = false
183183 }
184184 else {
185185 t . equal ( mutation . object , array . array , '.object' )
186- t . equal ( mutation . prop , "5" , '.prop' )
187- t . deepEqual ( mutation . value , [ true ] , '.value' )
188- t . equal ( mutation . oldValue , undefined , '.oldValue' )
186+ t . equal ( mutation . prop , 'length' , '.prop' )
187+ t . deepEqual ( mutation . value , 6 , '.value' )
188+ t . equal ( mutation . oldValue , 3 , '.oldValue' )
189189 t . deepEqual ( mutation . path , [ 2 , 'array' ] , '.path' )
190190 }
191191 }
0 commit comments