Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18d9c84

Browse files
committed
testrepo: add new branch
Add a new branch to the `testrepo` repository, where the `README` file has changed to executable. This branch enables typechange tests between the new `executable` branch and `master`.
1 parent 809b0ca commit 18d9c84

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

tests/iterator/workdir.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ void test_iterator_workdir__filesystem2(void)
610610
static const char *expect_base[] = {
611611
"heads/br2",
612612
"heads/dir",
613+
"heads/executable",
613614
"heads/ident",
614615
"heads/long-file-name",
615616
"heads/master",
@@ -630,7 +631,7 @@ void test_iterator_workdir__filesystem2(void)
630631

631632
cl_git_pass(git_iterator_for_filesystem(
632633
&i, "testrepo/.git/refs", NULL));
633-
expect_iterator_items(i, 15, expect_base, 15, expect_base);
634+
expect_iterator_items(i, 16, expect_base, 16, expect_base);
634635
git_iterator_free(i);
635636
}
636637

tests/refs/list.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void test_refs_list__all(void)
3636
/* We have exactly 12 refs in total if we include the packed ones:
3737
* there is a reference that exists both in the packfile and as
3838
* loose, but we only list it once */
39-
cl_assert_equal_i((int)ref_list.count, 17);
39+
cl_assert_equal_i((int)ref_list.count, 18);
4040

4141
git_strarray_free(&ref_list);
4242
}
@@ -51,7 +51,7 @@ void test_refs_list__do_not_retrieve_references_which_name_end_with_a_lock_exten
5151
"144344043ba4d4a405da03de3844aa829ae8be0e\n");
5252

5353
cl_git_pass(git_reference_list(&ref_list, g_repo));
54-
cl_assert_equal_i((int)ref_list.count, 17);
54+
cl_assert_equal_i((int)ref_list.count, 18);
5555

5656
git_strarray_free(&ref_list);
5757
}
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
x�N[
2+
B!��U��z�ꁈ~�A8W�� 3�K-?�v�|�f&�R.]�6�1K�-p��%� ��d���&���S�6�;5�u�3��� �9 ΄h|��`U�h8gAk_j������y��Qor����#����ZR;�*�1*�j@ w���g��ǵ�|e��O�
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f9ed4af42472941da45a3ce44458455ed227a6be

tests/revwalk/basic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ void test_revwalk_basic__glob_heads_with_invalid(void)
177177
/* walking */;
178178

179179
/* git log --branches --oneline | wc -l => 16 */
180-
cl_assert_equal_i(19, i);
180+
cl_assert_equal_i(20, i);
181181
}
182182

183183
void test_revwalk_basic__push_head(void)

0 commit comments

Comments
 (0)