mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-16 15:45:37 +00:00
11 lines
220 B
Rust
11 lines
220 B
Rust
use html_parser::{Dom, Result};
|
|
use insta::assert_json_snapshot;
|
|
|
|
#[test]
|
|
fn it_can_parse_empty_document() -> Result<()> {
|
|
let html = "";
|
|
let dom = Dom::parse(html)?;
|
|
assert_json_snapshot!(dom);
|
|
Ok(())
|
|
}
|