Fix empty document test.

imgbot
Nathan Vegdahl 3 years ago
parent 7961a13007
commit 28627f97e9

@ -1161,11 +1161,7 @@ mod test {
#[test]
fn test_line_ending() {
if cfg!(windows) {
assert_eq!(Document::default().text().to_string(), "\r\n");
} else {
assert_eq!(Document::default().text().to_string(), "\n");
}
assert_eq!(Document::default().text().to_string(), "");
}
macro_rules! test_decode {

Loading…
Cancel
Save