Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-06-09 06:50:00 +0300
committerEdward Thomson <ethomson@microsoft.com>2015-06-22 19:00:26 +0300
commit1e46d54584ea46f024f24a913200568b5694a7a7 (patch)
treee0971e20767617cb4907c78c7a08577551aeb84f /tests/filter
parent8293c8f9a3ea18131af98b71fa9100dcba0ad438 (diff)
crlf tests: ensure that Unix obeys autocrlf=true
All platforms do terrible, horrible, no good, very bad translation when core.autocrlf=true. It's not just Windows!
Diffstat (limited to 'tests/filter')
-rw-r--r--tests/filter/crlf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/filter/crlf.c b/tests/filter/crlf.c
index 406d3b6b0..a8ebd949f 100644
--- a/tests/filter/crlf.c
+++ b/tests/filter/crlf.c
@@ -38,11 +38,7 @@ void test_filter_crlf__to_worktree(void)
cl_git_pass(git_filter_list_apply_to_data(&out, fl, &in));
-#ifdef GIT_WIN32
cl_assert_equal_s("Some text\r\nRight here\r\n", out.ptr);
-#else
- cl_assert_equal_s("Some text\nRight here\n", out.ptr);
-#endif
git_filter_list_free(fl);
git_buf_free(&out);