diff options
author | Etienne Samson <samson.etienne@gmail.com> | 2017-07-14 03:21:02 +0200 |
---|---|---|
committer | Etienne Samson <samson.etienne@gmail.com> | 2017-11-15 00:36:56 +0100 |
commit | b9b1f9f8a94ff7cc9bd3f4fe39651d0ab6dd391c (patch) | |
tree | a09f886e71f4cdec80e663b56894dc2ebae2c06a /tests | |
parent | 5367212840ed710d48f494e8d58ce55d383a8d92 (diff) | |
download | libgit2-b9b1f9f8a94ff7cc9bd3f4fe39651d0ab6dd391c.tar.gz |
tests: clarify which steps corresponds to each checks
Diffstat (limited to 'tests')
-rw-r--r-- | tests/refs/reflog/messages.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/refs/reflog/messages.c b/tests/refs/reflog/messages.c index 2c8533988..9932f7381 100644 --- a/tests/refs/reflog/messages.c +++ b/tests/refs/reflog/messages.c @@ -29,13 +29,13 @@ void test_refs_reflog_messages__setting_head_updates_reflog(void) cl_git_pass(git_signature_now(&sig, "me", "foo@example.com")); - cl_git_pass(git_repository_set_head(g_repo, "refs/heads/haacked")); + cl_git_pass(git_repository_set_head(g_repo, "refs/heads/haacked")); /* 4 */ cl_git_pass(git_repository_set_head(g_repo, "refs/heads/unborn")); cl_git_pass(git_revparse_single(&tag, g_repo, "tags/test")); - cl_git_pass(git_repository_set_head_detached(g_repo, git_object_id(tag))); - cl_git_pass(git_repository_set_head(g_repo, "refs/heads/haacked")); - cl_git_pass(git_repository_set_head(g_repo, "refs/tags/test")); - cl_git_pass(git_repository_set_head(g_repo, "refs/remotes/test/master")); + cl_git_pass(git_repository_set_head_detached(g_repo, git_object_id(tag))); /* 3 */ + cl_git_pass(git_repository_set_head(g_repo, "refs/heads/haacked")); /* 2 */ + cl_git_pass(git_repository_set_head(g_repo, "refs/tags/test")); /* 1 */ + cl_git_pass(git_repository_set_head(g_repo, "refs/remotes/test/master")); /* 0 */ reflog_check_entry(g_repo, GIT_HEAD_FILE, 4, NULL, "refs/heads/haacked", |