diff options
author | Laurence McGlashan <mail@laurencemcglashan.com> | 2021-09-14 13:07:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 13:07:33 +0100 |
commit | 0d30e7bb3df520bb4f36d54b339baf231864b05d (patch) | |
tree | 686fd11ce24a6991d3734dd748a1d3848ef15f12 | |
parent | 6cf9a0b3ee341b8f56be7c1de4f2b23e98c28bbd (diff) | |
download | libgit2-0d30e7bb3df520bb4f36d54b339baf231864b05d.tar.gz |
Apply suggestions from code review
Co-authored-by: Edward Thomson <ethomson@github.com>
-rw-r--r-- | tests/win32/longpath.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/win32/longpath.c b/tests/win32/longpath.c index 294faea99..f300544f4 100644 --- a/tests/win32/longpath.c +++ b/tests/win32/longpath.c @@ -64,6 +64,7 @@ void test_win32_longpath__workdir_path_validated(void) #endif } +#ifdef GIT_WIN32 static void assert_longpath_status_and_add(git_repository* repo) { git_index *index; git_buf out = GIT_BUF_INIT; @@ -85,6 +86,7 @@ static void assert_longpath_status_and_add(git_repository* repo) { git_index_free(index); git_buf_dispose(&out); } +#endif void test_win32_longpath__status_and_add(void) { |