Skip to content

Commit

Permalink
Skip more #script-off html5lib tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanw committed Jul 3, 2016
1 parent c9996a5 commit 33739e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/HTMLTreeConstructionTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ - (HTMLTreeConstructionTest *)testWithSingleTestString:(NSString *)string
[scanner scanString:@"#data\n" intoString:nil];
NSString *data;
[scanner scanUpToString:@"#errors\n" intoString:&data];
if ([data containsString:@"#script-off"]) {
return nil;
}
if (data.length > 0) {
data = [data substringToIndex:data.length - 1];
} else {
Expand Down

0 comments on commit 33739e4

Please sign in to comment.