From 3627f8a8741e38658ddc650b66abe3ae744beecf Mon Sep 17 00:00:00 2001 From: Piotr Kaminski Date: Mon, 14 Aug 2017 14:52:42 -0700 Subject: [PATCH 1/2] CR/LF testing and empty file tests. --- crlf-noEOF.txt | 3 +++ crlf.txt | 3 +++ empty | 0 3 files changed, 6 insertions(+) create mode 100644 crlf-noEOF.txt create mode 100644 crlf.txt create mode 100644 empty diff --git a/crlf-noEOF.txt b/crlf-noEOF.txt new file mode 100644 index 0000000..2ae3d58 --- /dev/null +++ b/crlf-noEOF.txt @@ -0,0 +1,3 @@ +This file has CRLF on every line +But the last line +doesn't have one! \ No newline at end of file diff --git a/crlf.txt b/crlf.txt new file mode 100644 index 0000000..f530fd4 --- /dev/null +++ b/crlf.txt @@ -0,0 +1,3 @@ +This file has CRLF on every line +Yes every one +NO exceptions diff --git a/empty b/empty new file mode 100644 index 0000000..e69de29 From 35f9a5b57cd7ee349feaae7ff96880cb8ed05f17 Mon Sep 17 00:00:00 2001 From: Piotr Kaminski Date: Mon, 14 Aug 2017 14:54:51 -0700 Subject: [PATCH 2/2] Make into a mixed EOL file. --- crlf.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/crlf.txt b/crlf.txt index f530fd4..f479141 100644 --- a/crlf.txt +++ b/crlf.txt @@ -1,3 +1,4 @@ This file has CRLF on every line Yes every one NO exceptions +Except this line, which has a LF only