diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2016-09-16 16:10:25 -0400 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-09-16 16:10:25 -0400 |
commit | 08187d2da73bc6da1c12aa74783fcbbe2c98a3e3 (patch) | |
tree | edc6f03b7318c8f9d3b815d801a688e87952dadb /UnitTesting | |
parent | 2d6ac0199f7001cffada7058c9014f8de092300a (diff) |
Updates GTMSenTestCase to not return nil from a non-null annotated method.
Diffstat (limited to 'UnitTesting')
-rw-r--r-- | UnitTesting/GTMSenTestCase.m | 2 |
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]; } |