]> git.wincent.com - WOTest.git/blobdiff - Tests/WOProtocolStubTests.m
Code clean-up for garbage collection
[WOTest.git] / Tests / WOProtocolStubTests.m
index d2400ba96f2ad901dbbef6b0e02d3e51fa64ef04..a5544b1dc2a5323c3afa9ed441da721ba21fed6c 100644 (file)
     // throws if passed NULL
     WOProtocolStub *stub = [WOProtocolStub alloc];
     WO_TEST_THROWS([stub initWithProtocol:NULL delegate:nil]);
-    [stub dealloc];
 
     // otherwise works
     stub = [WOProtocolStub alloc];
     WO_TEST_DOES_NOT_THROW([stub initWithProtocol:@protocol(WOTest) delegate:nil]);
-    [stub dealloc];
 }
 
 - (void)testMethodSignatureForSelector