diff --git a/src/element.rs b/src/element.rs index 1f8a1903..d126aa1d 100644 --- a/src/element.rs +++ b/src/element.rs @@ -926,5 +926,5 @@ fn parses_spectest_xml() { // From: https://gitlab.com/lumi/minidom-rs/issues/8 "#; let mut reader = EventReader::from_str(xml); - let _ = Element::from_reader(&mut reader); + let _ = Element::from_reader(&mut reader).unwrap(); }