Fix empty document test.

This commit is contained in:
Nathan Vegdahl 2021-07-02 00:06:53 -07:00
parent 7961a13007
commit 28627f97e9

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 {