Commit 31b42eac by Russell Belfer

Restore commented out tests

This restores the commented out tests (even though they're slow)
and fixes some trailing whitespace.
parent 0a38eb42
...@@ -1334,8 +1334,6 @@ void test_diff_rename__many_files(void) ...@@ -1334,8 +1334,6 @@ void test_diff_rename__many_files(void)
int i, j; int i, j;
git_buf b = GIT_BUF_INIT; git_buf b = GIT_BUF_INIT;
/*
cl_git_pass(git_repository_index(&index, g_repo)); cl_git_pass(git_repository_index(&index, g_repo));
for (i = 0; i < 100; i += 1) { for (i = 0; i < 100; i += 1) {
...@@ -1354,7 +1352,6 @@ void test_diff_rename__many_files(void) ...@@ -1354,7 +1352,6 @@ void test_diff_rename__many_files(void)
git_index_free(index); git_index_free(index);
test_with_many(100); test_with_many(100);
*/
} }
void test_diff_rename__again_many_files(void) void test_diff_rename__again_many_files(void)
...@@ -1364,8 +1361,6 @@ void test_diff_rename__again_many_files(void) ...@@ -1364,8 +1361,6 @@ void test_diff_rename__again_many_files(void)
int i; int i;
git_buf b = GIT_BUF_INIT; git_buf b = GIT_BUF_INIT;
/*
cl_git_pass(git_repository_index(&index, g_repo)); cl_git_pass(git_repository_index(&index, g_repo));
git_buf_printf(&b, "%08d\n" ANOTHER_POEM "%08d\n" ANOTHER_POEM ANOTHER_POEM, 0, 0); git_buf_printf(&b, "%08d\n" ANOTHER_POEM "%08d\n" ANOTHER_POEM ANOTHER_POEM, 0, 0);
...@@ -1386,5 +1381,4 @@ void test_diff_rename__again_many_files(void) ...@@ -1386,5 +1381,4 @@ void test_diff_rename__again_many_files(void)
git_index_free(index); git_index_free(index);
test_with_many(2500); test_with_many(2500);
*/
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment