mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-30 22:59:52 +00:00
Tabify indentations
This commit is contained in:
parent
146b4d1c5f
commit
34b8eafcae
@ -99,11 +99,11 @@ void test_index_tests__default_test_index(void)
|
||||
entries = (git_index_entry **)index->entries.contents;
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(test_entries); ++i) {
|
||||
git_index_entry *e = entries[test_entries[i].index];
|
||||
git_index_entry *e = entries[test_entries[i].index];
|
||||
|
||||
cl_assert_equal_s(e->path, test_entries[i].path);
|
||||
cl_assert(e->mtime.seconds == test_entries[i].mtime);
|
||||
cl_assert(e->file_size == test_entries[i].file_size);
|
||||
cl_assert_equal_s(e->path, test_entries[i].path);
|
||||
cl_assert(e->mtime.seconds == test_entries[i].mtime);
|
||||
cl_assert(e->file_size == test_entries[i].file_size);
|
||||
}
|
||||
|
||||
git_index_free(index);
|
||||
@ -131,10 +131,10 @@ void test_index_tests__find_in_existing(void)
|
||||
cl_git_pass(git_index_open(&index, TEST_INDEX_PATH));
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(test_entries); ++i) {
|
||||
size_t idx;
|
||||
size_t idx;
|
||||
|
||||
cl_assert(!git_index_find(&idx, index, test_entries[i].path));
|
||||
cl_assert(idx == test_entries[i].index);
|
||||
cl_assert(!git_index_find(&idx, index, test_entries[i].path));
|
||||
cl_assert(idx == test_entries[i].index);
|
||||
}
|
||||
|
||||
git_index_free(index);
|
||||
@ -148,7 +148,7 @@ void test_index_tests__find_in_empty(void)
|
||||
cl_git_pass(git_index_open(&index, "fake-index"));
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(test_entries); ++i) {
|
||||
cl_assert(GIT_ENOTFOUND == git_index_find(NULL, index, test_entries[i].path));
|
||||
cl_assert(GIT_ENOTFOUND == git_index_find(NULL, index, test_entries[i].path));
|
||||
}
|
||||
|
||||
git_index_free(index);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user