Commit 2984f3190e350099662b944dc45579bc194c65be

Ben Straub 2013-08-07T05:55:12

Don't use win32-only macro in test code

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/status/worktree.c b/tests-clar/status/worktree.c
index 10efd74..be7398c 100644
--- a/tests-clar/status/worktree.c
+++ b/tests-clar/status/worktree.c
@@ -868,7 +868,7 @@ void test_status_worktree__sorting_by_case(void)
 
 void test_status_worktree__long_filenames(void)
 {
-	char path[GIT_WIN_PATH_UTF8];
+	char path[260*4+1];
 	const char *expected_paths[] = {path};
 	const unsigned int expected_statuses[] = {GIT_STATUS_WT_NEW};