Skip to content

Commit

Permalink
Remove debugging logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pokeb committed May 31, 2009
1 parent 44e5aee commit 3f1ef51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Classes/Tests/ASIHTTPRequestTests.m
Expand Up @@ -136,7 +136,6 @@ - (void)testAutomaticRedirection
request = [ASIHTTPRequest requestWithURL:url]; request = [ASIHTTPRequest requestWithURL:url];
[request setShouldRedirect:NO]; [request setShouldRedirect:NO];
[request start]; [request start];
NSLog([request responseString]);
if (i == 304) { // 304s will not contain a body, as per rfc2616. Will test 304 handling in a future test when we have etag support if (i == 304) { // 304s will not contain a body, as per rfc2616. Will test 304 handling in a future test when we have etag support
continue; continue;
} }
Expand All @@ -145,7 +144,6 @@ - (void)testAutomaticRedirection


request = [ASIHTTPRequest requestWithURL:url]; request = [ASIHTTPRequest requestWithURL:url];
[request start]; [request start];
NSLog([request responseString]);
success = [[request responseString] isEqualToString:[NSString stringWithFormat:@"Redirected content after a %hi status code",i]]; success = [[request responseString] isEqualToString:[NSString stringWithFormat:@"Redirected content after a %hi status code",i]];
GHAssertTrue(success,[NSString stringWithFormat:@"Got the wrong content when redirecting after a %hi",i]); GHAssertTrue(success,[NSString stringWithFormat:@"Got the wrong content when redirecting after a %hi",i]);


Expand Down

0 comments on commit 3f1ef51

Please sign in to comment.