Skip to content

Commit

Permalink
Fix building tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanw committed Apr 2, 2016
1 parent b07d7af commit 1bcbfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/HTMLTreeEnumeratorTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ - (HTMLNode *)rootNodeWithString:(NSString *)string
{
HTMLStringEncoding encoding = (HTMLStringEncoding){ .encoding = NSUTF8StringEncoding, .confidence = Certain };
HTMLDocument *document = [[HTMLParser alloc] initWithString:string encoding:encoding context:nil].document;
HTMLElement *body = document.rootElement.children.lastObject;
HTMLElement *body = (HTMLElement *)document.rootElement.children.lastObject;
return body.children[0];
}

Expand Down

0 comments on commit 1bcbfbd

Please sign in to comment.