Can't figure out whats going on here . . .
I've got a simple unit test thats designed to test a parser. Test case looks like this:
[parser didStartElement:@"mobileresponse" attributes:[NSDictionary dictionaryWithObject:@"http://www.espn.com/" forKey:@"rooturl"]];
[parser didStartElement:@"content" attributes:[NSDictionary dictionaryWithObject:@"/soccer" forKey:@"mobileFriendlyUrl"]];
NSString *mobileFriendlyURL = [parser valueForKey:@"mobile_friendly_url"];
STAssertEqualObjects(@"http://www.espn.com/soccer", mobileFriendlyURL, @"url path should be appended to root url");
now this is failing every time, but here is the output
'http://www.espn.com/soccer' should be equal to 'http://www.espn.com/soccer' url path should be appended to root url
Am I going crazy or are those the exact same?? Does anyone have any idea why this is throwing an error?