mod test_utils; mod tests { use crate::test_utils::*; #[test] fn basic_element() { insta::assert_debug_snapshot!(parser_test("
")) } #[test] fn basic_element_with_text() { insta::assert_debug_snapshot!(parser_test("Hello World!")) } #[test] fn special_script_tag() { /* * However, a Script Element is never a void or a parametric Element, * because script tag before anything else, is a Browser Instruction, * not a Data Description declaration. * -- this is why div is inside script tag */ insta::assert_debug_snapshot!(parser_test("