Update unit test to reflect HTML grammar change

This commit is contained in:
Max Brunsfeld 2021-07-12 12:21:10 -07:00
parent 586f69f113
commit 9cb732859f

View file

@ -849,7 +849,10 @@ fn test_parsing_with_multiple_included_ranges() {
hello_text_node.start_byte(),
source_code.find("Hello").unwrap()
);
assert_eq!(hello_text_node.end_byte(), source_code.find("<b>").unwrap());
assert_eq!(
hello_text_node.end_byte(),
source_code.find(" <b>").unwrap()
);
assert_eq!(b_start_tag_node.kind(), "start_tag");
assert_eq!(