mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 20:42:23 +00:00
Fix filter test for CRLF->LF issues
This commit is contained in:
parent
90dd286407
commit
2a528bc088
@ -41,7 +41,8 @@ void test_filter_blob__all_crlf(void)
|
|||||||
|
|
||||||
cl_git_pass(git_blob_filtered_content(&buf, blob, "file.lf", 1));
|
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_buf_free(&buf);
|
||||||
git_blob_free(blob);
|
git_blob_free(blob);
|
||||||
|
Loading…
Reference in New Issue
Block a user