mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 22:01:26 +00:00
branches: cover EEXISTS propagation upon moving
This commit is contained in:
parent
62993b6158
commit
6251de1d17
@ -45,7 +45,7 @@ void test_refs_branches_move__can_move_a_local_branch_to_a_partially_colliding_n
|
|||||||
|
|
||||||
void test_refs_branches_move__can_not_move_a_branch_if_its_destination_name_collide_with_an_existing_one(void)
|
void test_refs_branches_move__can_not_move_a_branch_if_its_destination_name_collide_with_an_existing_one(void)
|
||||||
{
|
{
|
||||||
cl_git_fail(git_branch_move(ref, "master", 0));
|
cl_assert_equal_i(GIT_EEXISTS, git_branch_move(ref, "master", 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_refs_branches_move__can_not_move_a_non_branch(void)
|
void test_refs_branches_move__can_not_move_a_non_branch(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user