diff options
Diffstat (limited to 'tests-clar/filter/crlf.c')
-rw-r--r-- | tests-clar/filter/crlf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests-clar/filter/crlf.c b/tests-clar/filter/crlf.c index c9fb9cd7f..1f27e42e8 100644 --- a/tests-clar/filter/crlf.c +++ b/tests-clar/filter/crlf.c @@ -36,11 +36,8 @@ void test_filter_crlf__to_worktree(void) cl_git_pass(git_filter_list_apply_to_data(&out, fl, &in)); -#ifdef GIT_WIN32 + /* core.autocrlf is on so we should always get \r\n */ 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); |