use html_parser::{Dom, Result};
use indoc::indoc;
use insta::assert_json_snapshot;
#[test]
fn it_can_parse_one_element() -> Result<()> {
let html = "";
let dom = Dom::parse(html)?;
assert_json_snapshot!(dom);
Ok(())
}
#[test]
fn it_can_parse_one_element_upper_case() -> Result<()> {
let html = "";
let dom = Dom::parse(html)?;
assert_json_snapshot!(dom);
Ok(())
}
#[test]
fn it_can_parse_one_element_mixed_case() -> Result<()> {
let html = "";
let dom = Dom::parse(html)?;
assert_json_snapshot!(dom);
Ok(())
}
#[test]
fn it_can_parse_one_element_mixed_case_numbers() -> Result<()> {
let html = "