diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2011-06-30 19:52:34 +0300 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-07-01 18:02:56 +0200 |
commit | 932d1baf294aaacfd5a99e7758a3c08d8ffc22ab (patch) | |
tree | e6714d92345ed9a916d8cd771ab1588333d41998 /tests/t10-refs.c | |
parent | 1f4f4d17046e43ca24da9621323d921ae0d0f5dd (diff) | |
download | libgit2-932d1baf294aaacfd5a99e7758a3c08d8ffc22ab.tar.gz |
cleanup: remove trailing spaces
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'tests/t10-refs.c')
-rw-r--r-- | tests/t10-refs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/t10-refs.c b/tests/t10-refs.c index 7b4ae5e1b..f975c8fba 100644 --- a/tests/t10-refs.c +++ b/tests/t10-refs.c @@ -431,7 +431,7 @@ BEGIN_TEST(pack0, "create a packfile for an empty folder") const int mode = 0755; /* or 0777 ? */ must_pass(open_temp_repo(&repo, REPOSITORY_FOLDER)); - + git__joinpath_n(temp_path, 3, repo->path_repository, GIT_REFS_HEADS_DIR, "empty_dir"); must_pass(gitfo_mkdir_recurs(temp_path, mode)); @@ -446,12 +446,12 @@ BEGIN_TEST(pack1, "create a packfile from all the loose rn a repo") char temp_path[GIT_PATH_MAX]; must_pass(open_temp_repo(&repo, REPOSITORY_FOLDER)); - + /* Ensure a known loose ref can be looked up */ must_pass(git_reference_lookup(&reference, repo, loose_tag_ref_name)); must_be_true((reference->type & GIT_REF_PACKED) == 0); must_be_true(strcmp(reference->name, loose_tag_ref_name) == 0); - + /* * We are now trying to pack also a loose reference * called `points_to_blob`, to make sure we can properly @@ -913,7 +913,7 @@ BEGIN_TEST(list0, "try to list all the references in our test repo") /* We have exactly 8 refs in total if we include the packed ones: * there is a reference that exists both in the packfile and as * loose, but we only list it once */ - must_be_true(ref_list.count == 8); + must_be_true(ref_list.count == 8); git_strarray_free(&ref_list); git_repository_free(repo); @@ -925,7 +925,7 @@ BEGIN_TEST(list1, "try to list only the symbolic references") must_pass(git_repository_open(&repo, REPOSITORY_FOLDER)); must_pass(git_reference_listall(&ref_list, repo, GIT_REF_SYMBOLIC)); - must_be_true(ref_list.count == 0); /* no symrefs in the test repo */ + must_be_true(ref_list.count == 0); /* no symrefs in the test repo */ git_strarray_free(&ref_list); git_repository_free(repo); |