Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

Commit

Permalink
Update XCTAssertNotEqualStrings and XCTAssertEqualStrings to use %zd.
Browse files Browse the repository at this point in the history
DELTA=2 (0 added, 0 deleted, 2 changed)
DELTA_BY_EXTENSION=h=2

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@689 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3
  • Loading branch information
gtm.daemon committed Sep 29, 2014
1 parent 247e9fa commit 9933f8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTesting/GTMSenTestCase.h
Expand Up @@ -324,7 +324,7 @@
} else if (![_a2value isKindOfClass:[NSString class]]) { \
_failure = [NSString stringWithFormat:@"(%@) is not an NSString* (%@)", @#a2, [_a2value class]]; \
} else if ((_result = [_a1value compare:_a2value]) != NSOrderedSame) { \
_failure = [NSString stringWithFormat:@"(%@) vs (%@) == %ld", _a1value, _a2value, (long)_result]; \
_failure = [NSString stringWithFormat:@"(%@) vs (%@) == %zd", _a1value, _a2value, (long)_result]; \
} \
} \
@catch (NSException *_exception) { \
Expand Down Expand Up @@ -364,7 +364,7 @@
} else if (![_a2value isKindOfClass:[NSString class]]) { \
_failure = [NSString stringWithFormat:@"(%@) is not an NSString* (%@)", @#a2, [_a2value class]]; \
} else if ((_result = [_a1value compare:_a2value]) == NSOrderedSame) { \
_failure = [NSString stringWithFormat:@"(%@) vs (%@) == %d", _a1value, _a2value, _result]; \
_failure = [NSString stringWithFormat:@"(%@) vs (%@) == %zd", _a1value, _a2value, _result]; \
} \
} \
@catch (NSException *_exception) { \
Expand Down

0 comments on commit 9933f8c

Please sign in to comment.