aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-09-29 22:00:06 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-09-29 22:00:06 +0000
commit1d4e5298ed7d107c38dd56a6796c8c59caf8391b (patch)
treefb40ad5b2e929a3c7e8f1cb2ff124fe5b46b96c0 /UnitTesting
parent83c885459621bef62ba1809ff2b47b61413dea02 (diff)
Update XCTAssertNotEqualStrings and XCTAssertEqualStrings to use %zd.
DELTA=2 (0 added, 0 deleted, 2 changed) DELTA_BY_EXTENSION=h=2
Diffstat (limited to 'UnitTesting')
-rw-r--r--UnitTesting/GTMSenTestCase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/UnitTesting/GTMSenTestCase.h b/UnitTesting/GTMSenTestCase.h
index e3a7a33..4c372c7 100644
--- a/UnitTesting/GTMSenTestCase.h
+++ b/UnitTesting/GTMSenTestCase.h
@@ -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) { \
@@ -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) { \