summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-12-24 17:16:41 +0100
committernulltoken <emeric.fermas@gmail.com>2012-12-24 18:18:40 +0100
commit19c3c99ca8562d5a6e2a8fe6dbbed6892b0f9eca (patch)
tree888920f3c6e93ee8cf8d318c8365824b1cb87cb5
parentf19304d2653cdc829f549283b3fb4e2e4d9b06ce (diff)
downloadlibgit2-19c3c99ca8562d5a6e2a8fe6dbbed6892b0f9eca.tar.gz
remote: remove duplicated test
-rw-r--r--tests-clar/network/remotes.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests-clar/network/remotes.c b/tests-clar/network/remotes.c
index 79761c884..a758c0bbe 100644
--- a/tests-clar/network/remotes.c
+++ b/tests-clar/network/remotes.c
@@ -278,21 +278,6 @@ void test_network_remotes__cannot_add_a_remote_with_an_invalid_name(void)
cl_assert_equal_p(remote, NULL);
}
-void test_network_remotes__cannot_initialize_a_remote_with_an_invalid_name(void)
-{
- git_remote *remote = NULL;
-
- cl_assert_equal_i(
- GIT_EINVALIDSPEC,
- git_remote_create(&remote, _repo, "Inv@{id", "git://github.com/libgit2/libgit2"));
- cl_assert_equal_p(remote, NULL);
-
- cl_assert_equal_i(
- GIT_EINVALIDSPEC,
- git_remote_create(&remote, _repo, "", "git://github.com/libgit2/libgit2"));
- cl_assert_equal_p(remote, NULL);
-}
-
void test_network_remotes__tagopt(void)
{
const char *opt;