Эх сурвалжийг харах

fix test for greaterThanOrEqualTo array

game3108 9 жил өмнө
parent
commit
0c362d0a6e

+ 1 - 1
Tests/Specs/NSLayoutConstraint+MASDebugAdditionsSpec.m

@@ -53,7 +53,7 @@ SpecBegin(NSLayoutConstraint_MASDebugAdditions)
     }];
     }];
 
 
 
 
-    NSString *description = [NSString stringWithFormat:@"<MASLayoutConstraint:left[0] %@:newView1.left == %@:newView2.left>", MAS_VIEW.class, MAS_VIEW.class];
+    NSString *description = [NSString stringWithFormat:@"<MASLayoutConstraint:left[0] %@:newView1.left >= %@:newView2.left>", MAS_VIEW.class, MAS_VIEW.class];
     expect([superview.constraints[0] description]).to.equal(description);
     expect([superview.constraints[0] description]).to.equal(description);
 }
 }