Fix empty document test.
This commit is contained in:
parent
7961a13007
commit
28627f97e9
1 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue