Permalink
Browse files

Spaces to tabs

  • Loading branch information...
1 parent 65b93f6 commit 9764210e7b941456c362345d2a0d3a35345ea70a @joshvera joshvera committed Oct 26, 2012
Showing with 16 additions and 16 deletions.
  1. +1 −1 Mantle/NSObject+MTLComparisonAdditions.m
  2. +15 −15 MantleTests/MTLComparisonAdditionsSpec.m
View
2 Mantle/NSObject+MTLComparisonAdditions.m
@@ -12,5 +12,5 @@
#import "NSObject+MTLComparisonAdditions.h"
BOOL MTLEqualObjects(id obj1, id obj2) {
- return (obj1 == obj2 || [obj1 isEqual:obj2]);
+ return (obj1 == obj2 || [obj1 isEqual:obj2]);
}
View
30 MantleTests/MTLComparisonAdditionsSpec.m
@@ -17,25 +17,25 @@
id obj1 = @"Test1";
id obj2 = @"Test2";
- it(@"returns true when given two values of nil", ^{
- expect(MTLEqualObjects(nil, nil)).to.beTruthy();
- });
+ it(@"returns true when given two values of nil", ^{
+ expect(MTLEqualObjects(nil, nil)).to.beTruthy();
+ });
- it(@"returns true when given two equal objects", ^{
- expect(MTLEqualObjects(obj1, obj1)).to.beTruthy();
- });
+ it(@"returns true when given two equal objects", ^{
+ expect(MTLEqualObjects(obj1, obj1)).to.beTruthy();
+ });
- it(@"returns false when given two inequal objects", ^{
- expect(MTLEqualObjects(obj1, obj2)).to.beFalsy();
- });
+ it(@"returns false when given two inequal objects", ^{
+ expect(MTLEqualObjects(obj1, obj2)).to.beFalsy();
+ });
- it(@"returns false when given an object and nil", ^{
- expect(MTLEqualObjects(obj1, nil)).to.beFalsy();
- });
+ it(@"returns false when given an object and nil", ^{
+ expect(MTLEqualObjects(obj1, nil)).to.beFalsy();
+ });
- it(@"returns the same value when given symmetric arguments", ^{
- expect(MTLEqualObjects(obj2, obj1)).to.equal(MTLEqualObjects(obj1, obj2));
- });
+ it(@"returns the same value when given symmetric arguments", ^{
+ expect(MTLEqualObjects(obj2, obj1)).to.equal(MTLEqualObjects(obj1, obj2));
+ });
});
SpecEnd

0 comments on commit 9764210

Please sign in to comment.