test: update html tests

This commit is contained in:
Amaan Qureshi 2024-02-19 05:42:52 -05:00
parent d4067a6ae6
commit f526be8061
2 changed files with 4 additions and 4 deletions

View file

@ -887,7 +887,7 @@ fn test_parsing_with_multiple_included_ranges() {
assert_eq!(
html_tree.root_node().to_sexp(),
concat!(
"(fragment (element",
"(document (element",
" (start_tag (tag_name))",
" (text)",
" (element (start_tag (tag_name)) (end_tag (tag_name)))",
@ -966,7 +966,7 @@ fn test_parsing_with_included_range_containing_mismatched_positions() {
assert_eq!(
html_tree.root_node().to_sexp(),
"(fragment (element (start_tag (tag_name)) (text) (end_tag (tag_name))))"
"(document (element (start_tag (tag_name)) (text) (end_tag (tag_name))))"
);
}
@ -1135,7 +1135,7 @@ fn test_parsing_with_a_newly_excluded_range() {
assert_eq!(
tree.root_node().to_sexp(),
concat!(
"(fragment (text) (element",
"(document (text) (element",
" (start_tag (tag_name))",
" (element (start_tag (tag_name)) (end_tag (tag_name)))",
" (end_tag (tag_name))))"