diff --git a/src/element.rs b/src/element.rs index 99c64ee..f31e13f 100644 --- a/src/element.rs +++ b/src/element.rs @@ -35,7 +35,7 @@ //! # mode to ensure that it only matches a completely empty message stanza: //! //! Louise receives: -//! +//! //! ``` use std::fmt::Debug; @@ -401,13 +401,13 @@ mod tests { assert_eq!(scan1, &elem1); let elem2: Element = " - - " + + " .parse() .unwrap(); let elem3: Element = " - - " + + " .parse() .unwrap(); let scan2 = ScanElement::new(elem2); @@ -427,20 +427,20 @@ mod tests { #[test] fn compare_element_strict_nodes_success() { let elem1: Element = " - - - - - " + + + + + " .parse() .unwrap(); // The same, minus 'scansion:strict' let elem2: Element = " - - - - - " + + + + + " .parse() .unwrap(); let scan1 = ScanElement::new(elem1); @@ -451,17 +451,17 @@ mod tests { #[test] fn compare_element_strict_nodes_failure() { let elem1: Element = " - - - - - " + + + + + " .parse() .unwrap(); let elem2: Element = " - - - " + + + " .parse() .unwrap(); let scan1 = ScanElement::new(elem1); @@ -479,13 +479,13 @@ mod tests { assert_eq!(scan1, &elem1); let elem2: Element = " - - " + + " .parse() .unwrap(); let elem3: Element = " - - " + + " .parse() .unwrap(); let scan2 = ScanElement::new(elem2); @@ -504,13 +504,13 @@ mod tests { assert_ne!(scan1, &elem2); let elem2: Element = " - - " + + " .parse() .unwrap(); let elem3: Element = " - - " + + " .parse() .unwrap(); let scan2 = ScanElement::new(elem2); @@ -541,13 +541,13 @@ mod tests { #[test] fn compare_element_non_strict_elem_failure() { let elem2: Element = " - foo - " + foo + " .parse() .unwrap(); let elem3: Element = " - bar - " + bar + " .parse() .unwrap(); let scan2 = ScanElement::new(elem2); @@ -558,13 +558,13 @@ mod tests { #[test] fn compare_element_propagate_strictness() { let elem1: Element = " - - " + + " .parse() .unwrap(); let elem2: Element = " - - " + + " .parse() .unwrap(); let scan1 = ScanElement::new(elem1);