We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b07d7af commit 1bcbfbdCopy full SHA for 1bcbfbd
Tests/HTMLTreeEnumeratorTests.m
@@ -43,7 +43,7 @@ - (HTMLNode *)rootNodeWithString:(NSString *)string
43
{
44
HTMLStringEncoding encoding = (HTMLStringEncoding){ .encoding = NSUTF8StringEncoding, .confidence = Certain };
45
HTMLDocument *document = [[HTMLParser alloc] initWithString:string encoding:encoding context:nil].document;
46
- HTMLElement *body = document.rootElement.children.lastObject;
+ HTMLElement *body = (HTMLElement *)document.rootElement.children.lastObject;
47
return body.children[0];
48
}
49
0 commit comments