Skip to content

Commit

Permalink
test: unlock more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kkebo committed Apr 2, 2024
1 parent 3814a6f commit a19df42
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Tests/TokenizerTests/HTML5LibTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,6 @@ private let testCases = try! [

@Test("html5lib-tests", arguments: testCases)
func html5libTests(_ testCase: TestCase) throws {
// TODO: Do not ignore any test cases
switch testCase.title {
// test1.test
case "Entity with trailing semicolon (1)": return
case "Entity with trailing semicolon (2)": return
case "Entity without trailing semicolon (1)": return
case "Entity without trailing semicolon (2)": return
case "Entity in attribute without semicolon": return
// test2.test
case "Entity + newline": return
// entities.test
case "Undefined named entity in a double-quoted attribute value ending in semicolon and whose name starts with a known entity name.": return
case "Undefined named entity in a single-quoted attribute value ending in semicolon and whose name starts with a known entity name.": return
case "Undefined named entity in an unquoted attribute value ending in semicolon and whose name starts with a known entity name.": return
case "Semicolonless named entity 'not' followed by 'i;' in body": return
case _: break
}

var tokenizer = Tokenizer(sink: TestSink())
tokenizer.state = testCase.initialState
var input = Deque(testCase.input)
Expand Down

0 comments on commit a19df42

Please sign in to comment.