1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-28 16:02:01 +03:00

Factor out into NormalizeLinefeeds; add tests

This commit is contained in:
Tommy Nguyen
2018-08-19 07:20:50 -04:00
parent b46d174f70
commit cea736e6e9
4 changed files with 54 additions and 2 deletions

View File

@ -3,6 +3,18 @@ set -ex; rm -rf repo; mkdir repo; cd repo
git init
cat <<EOT >> windowslf.txt
asdf
asdf
EOT
unix2dos windowslf.txt
cat <<EOT >> linuxlf.txt
asdf
asdf
EOT
cat <<EOT >> bomtest.txt
A,B,C,D,E
F,G,H,I,J