diff --git a/src/element.rs b/src/element.rs index 2f41548..f2965b1 100644 --- a/src/element.rs +++ b/src/element.rs @@ -715,9 +715,7 @@ mod tests { let elem3: Element = "\n" .parse() .unwrap(); - let elem4: Element = "\t" - .parse() - .unwrap(); + let elem4: Element = "\t".parse().unwrap(); let scan2 = ScanElement::new(elem3); assert_eq!(scan2, elem4); @@ -725,9 +723,7 @@ mod tests { let elem5: Element = " \n" .parse() .unwrap(); - let elem6: Element = "\t" - .parse() - .unwrap(); + let elem6: Element = "\t".parse().unwrap(); let scan3 = ScanElement::new(elem5); assert_eq!(scan3, elem6); @@ -748,9 +744,7 @@ mod tests { let elem3: Element = "\n" .parse() .unwrap(); - let elem4: Element = "\t" - .parse() - .unwrap(); + let elem4: Element = "\t".parse().unwrap(); let scan2 = ScanElement::new(elem3); assert_eq!(scan2, elem4); @@ -758,9 +752,7 @@ mod tests { let elem5: Element = " \n" .parse() .unwrap(); - let elem6: Element = "\t" - .parse() - .unwrap(); + let elem6: Element = "\t".parse().unwrap(); let scan3 = ScanElement::new(elem5); assert_eq!(scan3, elem6); @@ -771,9 +763,7 @@ mod tests { let elem1: Element = "abc" .parse() .unwrap(); - let elem2: Element = " abc " - .parse() - .unwrap(); + let elem2: Element = " abc ".parse().unwrap(); let scan1 = ScanElement::new(elem1); assert_ne!(scan1, elem2); @@ -781,9 +771,7 @@ mod tests { let elem3: Element = " " .parse() .unwrap(); - let elem4: Element = "" - .parse() - .unwrap(); + let elem4: Element = "".parse().unwrap(); let scan2 = ScanElement::new(elem3); assert_ne!(scan2, elem4); @@ -794,9 +782,7 @@ mod tests { let elem1: Element = "abc" .parse() .unwrap(); - let elem2: Element = " abc " - .parse() - .unwrap(); + let elem2: Element = " abc ".parse().unwrap(); let scan1 = ScanElement::new(elem1); assert_ne!(scan1, elem2); @@ -804,9 +790,7 @@ mod tests { let elem3: Element = " " .parse() .unwrap(); - let elem4: Element = "" - .parse() - .unwrap(); + let elem4: Element = "".parse().unwrap(); let scan2 = ScanElement::new(elem3); assert_ne!(scan2, elem4);