summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTommy Nguyen <remyabel@gmail.com>2018-08-19 07:20:50 -0400
committerTommy Nguyen <remyabel@gmail.com>2018-08-19 07:20:50 -0400
commitcea736e6e92bb0c37b61af15da9c261b79eb3c9b (patch)
tree8fe71cb9a7ef17671ced18cae438ae3b75736ba0 /test
parentb46d174f706a5a66307111a55eabf1b64dd39c12 (diff)
Factor out into NormalizeLinefeeds; add tests
Diffstat (limited to 'test')
-rw-r--r--test/repos/bom.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/repos/bom.sh b/test/repos/bom.sh
index 9599f80e6..e8642491a 100644
--- a/test/repos/bom.sh
+++ b/test/repos/bom.sh
@@ -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