use html_query_parser::{parse, Htmlifiable, Editable}; const HTML: &str = r#"
Hello World
"#; #[test] fn original_html() { let html = parse(HTML).html(); assert_eq!(html, HTML); } #[test] fn trimmed_html() { let html = parse(HTML).trim().html(); assert_eq!( html, r#"
HelloWorld
"# ); }