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>2014-02-12 05:05:13 +0400
committerEdward Thomson <ethomson@edwardthomson.com>2014-02-12 05:05:52 +0400
commit2a528bc088f566ad3301963304da8942400f261b (patch)
treeeb4ddbfb5778e3beb24a6a4663847708f1c0b91f /tests/filter
parent90dd28640757a59f51cd52eabd98119f60026586 (diff)
Fix filter test for CRLF->LF issues
Diffstat (limited to 'tests/filter')
-rw-r--r--tests/filter/blob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/filter/blob.c b/tests/filter/blob.c
index 8dce6470a..48edb8405 100644
--- a/tests/filter/blob.c
+++ b/tests/filter/blob.c
@@ -41,7 +41,8 @@ void test_filter_blob__all_crlf(void)
cl_git_pass(git_blob_filtered_content(&buf, blob, "file.lf", 1));
- cl_assert_equal_s(ALL_CRLF_TEXT_AS_LF, buf.ptr);
+ /* we never convert CRLF -> LF on platforms that have LF */
+ cl_assert_equal_s(ALL_CRLF_TEXT_AS_CRLF, buf.ptr);
git_buf_free(&buf);
git_blob_free(blob);