Test for GITERR_INVALID

This commit is contained in:
Justin Spahr-Summers 2012-11-05 10:44:48 -08:00
parent f8baece754
commit 1fe99aeea3

View File

@ -275,4 +275,5 @@ void test_network_remotes__cannot_load_with_an_empty_url(void)
git_remote *remote;
cl_git_fail(git_remote_load(&remote, _repo, "empty-remote-url"));
cl_assert(giterr_last()->klass == GITERR_INVALID);
}