mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 01:20:53 +00:00
Test for GITERR_INVALID
This commit is contained in:
parent
f8baece754
commit
1fe99aeea3
@ -275,4 +275,5 @@ void test_network_remotes__cannot_load_with_an_empty_url(void)
|
|||||||
git_remote *remote;
|
git_remote *remote;
|
||||||
|
|
||||||
cl_git_fail(git_remote_load(&remote, _repo, "empty-remote-url"));
|
cl_git_fail(git_remote_load(&remote, _repo, "empty-remote-url"));
|
||||||
|
cl_assert(giterr_last()->klass == GITERR_INVALID);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user