undeepend/tests/xml/dom_parser_test.rs

8 lines
No EOL
239 B
Rust

use undeepend::xml::dom_parser::get_document;
#[test]
fn test_dom_parser() {
let test_xml = include_str!("../maven/resources/pom.xml");
let doc = get_document(test_xml).expect("failed to get document");
println!("{:?}",doc);
}