LibWeb: Add CustomStringConvertible extension for HTMLToken types

This commit is contained in:
Andrew Kaster 2024-08-19 22:14:03 -06:00 committed by Andrew Kaster
commit 33e50889f2
Notes: github-actions[bot] 2024-08-24 01:18:16 +00:00
2 changed files with 44 additions and 0 deletions

View file

@ -26,6 +26,8 @@ struct TestHTMLTokenizerSwift {
default_token.type = .Character(codePoint: "a")
precondition(default_token.isCharacter())
print("\(default_token)", to: &standardError)
print("HTMLToken types pass", to: &standardError)
}