aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/GTMSenTestCase.m
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-03-07 17:30:12 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-03-07 17:30:12 +0000
commit68a9e3a81ecfee95adbcf1f486e259863b9bdaaa (patch)
tree10ec8c8a19e48d45c9fefb468115b2e9b67fb1d0 /UnitTesting/GTMSenTestCase.m
parent32654998f055c85d9a70b6f415abf79dd81c601e (diff)
[Author: thomasvl]
Skip sending -class to to self in class methods. R=dmaclach DELTA=3 (0 added, 0 deleted, 3 changed)
Diffstat (limited to 'UnitTesting/GTMSenTestCase.m')
-rw-r--r--UnitTesting/GTMSenTestCase.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnitTesting/GTMSenTestCase.m b/UnitTesting/GTMSenTestCase.m
index 330a686..2d55936 100644
--- a/UnitTesting/GTMSenTestCase.m
+++ b/UnitTesting/GTMSenTestCase.m
@@ -221,7 +221,7 @@ NSString *const SenTestLineNumberKey = @"SenTestLineNumberKey";
@implementation SenTestCase
+ (id)testCaseWithInvocation:(NSInvocation *)anInvocation {
- return [[[[self class] alloc] initWithInvocation:anInvocation] autorelease];
+ return [[[self alloc] initWithInvocation:anInvocation] autorelease];
}
- (id)initWithInvocation:(NSInvocation *)anInvocation {