mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
LibWeb: Add CustomStringConvertible extension for HTMLToken types
This commit is contained in:
parent
fb074f9d0c
commit
33e50889f2
Notes:
github-actions[bot]
2024-08-24 01:18:16 +00:00
Author: https://github.com/ADKaster
Commit: 33e50889f2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1130
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/dzfrias
2 changed files with 44 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue