Skip to content
Browse files

Fix test error message

  • Loading branch information...
1 parent e81d570 commit 4dc57666bd221b53510945c332fe0bd46bf55beb @pokeb committed Jun 7, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/Tests/ASIHTTPRequestTests.m
2 Classes/Tests/ASIHTTPRequestTests.m
@@ -626,7 +626,7 @@ - (void)testSSL
// Just for testing the request generated a custom error description - don't do this! You should look at the domain / code of the underlyingError in your own programs.
BOOL success = ([[[request error] localizedDescription] isEqualToString:@"A connection failure occurred: Secure certificate had an untrusted root"]);
- GHAssertTrue(success,@"Basic synchronous request failed");
+ GHAssertTrue(success,@"Generated the wrong error for a self signed cert");
// Turn off certificate validation, and try again
request = [ASIHTTPRequest requestWithURL:url];

0 comments on commit 4dc5766

Please sign in to comment.
Something went wrong with that request. Please try again.