Add canary test for correct comment in `dashes_in_comments` test
@@ -192,6 +192,17 @@ fn dashes_in_comments() {
"#,
true,
);
+
+ // Canary test for correct comments
+ test(
+ r#"<!-- comment --><hello/>"#,
+ r#"
+ |Comment( comment )
+ |EmptyElement(hello)
+ |EndDocument
+ "#,
+ true,
+ );
}
#[test]
