Skip to content

Commit b9b1f9f

Browse files
committed
tests: clarify which steps corresponds to each checks
1 parent 5367212 commit b9b1f9f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/refs/reflog/messages.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ void test_refs_reflog_messages__setting_head_updates_reflog(void)
2929

3030
cl_git_pass(git_signature_now(&sig, "me", "foo@example.com"));
3131

32-
cl_git_pass(git_repository_set_head(g_repo, "refs/heads/haacked"));
32+
cl_git_pass(git_repository_set_head(g_repo, "refs/heads/haacked")); /* 4 */
3333
cl_git_pass(git_repository_set_head(g_repo, "refs/heads/unborn"));
3434
cl_git_pass(git_revparse_single(&tag, g_repo, "tags/test"));
35-
cl_git_pass(git_repository_set_head_detached(g_repo, git_object_id(tag)));
36-
cl_git_pass(git_repository_set_head(g_repo, "refs/heads/haacked"));
37-
cl_git_pass(git_repository_set_head(g_repo, "refs/tags/test"));
38-
cl_git_pass(git_repository_set_head(g_repo, "refs/remotes/test/master"));
35+
cl_git_pass(git_repository_set_head_detached(g_repo, git_object_id(tag))); /* 3 */
36+
cl_git_pass(git_repository_set_head(g_repo, "refs/heads/haacked")); /* 2 */
37+
cl_git_pass(git_repository_set_head(g_repo, "refs/tags/test")); /* 1 */
38+
cl_git_pass(git_repository_set_head(g_repo, "refs/remotes/test/master")); /* 0 */
3939

4040
reflog_check_entry(g_repo, GIT_HEAD_FILE, 4,
4141
NULL, "refs/heads/haacked",

0 commit comments

Comments
 (0)