aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting
diff options
context:
space:
mode:
authorGravatar Thomas Van Lenten <thomasvl@google.com>2016-09-16 16:10:25 -0400
committerGravatar Thomas Van Lenten <thomasvl@google.com>2016-09-16 16:10:25 -0400
commit08187d2da73bc6da1c12aa74783fcbbe2c98a3e3 (patch)
treeedc6f03b7318c8f9d3b815d801a688e87952dadb /UnitTesting
parent2d6ac0199f7001cffada7058c9014f8de092300a (diff)
Updates GTMSenTestCase to not return nil from a non-null annotated method.
Diffstat (limited to 'UnitTesting')
-rw-r--r--UnitTesting/GTMSenTestCase.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnitTesting/GTMSenTestCase.m b/UnitTesting/GTMSenTestCase.m
index 1de4ca7..b7a59a3 100644
--- a/UnitTesting/GTMSenTestCase.m
+++ b/UnitTesting/GTMSenTestCase.m
@@ -423,7 +423,7 @@ static NSInteger MethodSort(id a, id b, void *context) {
}
+ (NSArray *)testInvocations {
- NSArray *invocations = nil;
+ NSArray *invocations = @[];
if (![self isAbstractTestCase]) {
invocations = [super testInvocations];
}