Fixed stupid subclassing bug (and added test to avoid that in the future)
This commit is contained in:
@@ -27,7 +27,7 @@ In the previous version, the test case for parsing a non-opml file (with `RSOPML
|
||||
```
|
||||
RSXMLData *xmlData = [[RSXMLData alloc] initWithData:d urlString:@"https://www.example.org"];
|
||||
// TODO: check xmlData.parserError
|
||||
RSFeedParser *parser = [[RSFeedParser alloc] initWithXMLData:xmlData];
|
||||
RSFeedParser *parser = [RSFeedParser parserWithXMLData:xmlData];
|
||||
// TODO: check [parser canParse]
|
||||
// TODO: alternatively check error after parseSync:
|
||||
NSError *parseError;
|
||||
|
||||
Reference in New Issue
Block a user