Fix empty document test.

pull/376/head
Nathan Vegdahl 2021-07-02 00:06:53 -07:00
parent 7961a13007
commit 28627f97e9
1 changed files with 1 additions and 5 deletions

View File

@ -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 {