Detect buffer newline style and honor it when saving

This commit is contained in:
Antonio Scandurra 2022-07-04 17:25:19 +02:00
parent f9bad2d81d
commit 3480b50920
8 changed files with 136 additions and 33 deletions

View file

@ -117,6 +117,7 @@ mod tests {
}
"#
.into(),
Default::default(),
)
.await
.unwrap();
@ -174,6 +175,7 @@ mod tests {
}
"#
.into(),
Default::default(),
)
.await
.unwrap();