From 9cb732859ff894c246a1b7cb724b9567eb4ba161 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 12 Jul 2021 12:21:10 -0700 Subject: [PATCH] Update unit test to reflect HTML grammar change --- cli/src/tests/parser_test.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/src/tests/parser_test.rs b/cli/src/tests/parser_test.rs index 58cd1880..417513d9 100644 --- a/cli/src/tests/parser_test.rs +++ b/cli/src/tests/parser_test.rs @@ -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("").unwrap()); + assert_eq!( + hello_text_node.end_byte(), + source_code.find(" ").unwrap() + ); assert_eq!(b_start_tag_node.kind(), "start_tag"); assert_eq!(