From f358ec143c8c9952227d31cd21c24f8c9be23d3c Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 5 Nov 2012 10:45:26 -0800 Subject: [PATCH] Don't expect the 'empty-remote-url' remote to be listed CC @nulltoken --- tests-clar/network/remotes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests-clar/network/remotes.c b/tests-clar/network/remotes.c index 1d58aba75..481dece5c 100644 --- a/tests-clar/network/remotes.c +++ b/tests-clar/network/remotes.c @@ -183,13 +183,13 @@ void test_network_remotes__list(void) git_config *cfg; cl_git_pass(git_remote_list(&list, _repo)); - cl_assert(list.count == 4); + cl_assert(list.count == 3); git_strarray_free(&list); cl_git_pass(git_repository_config(&cfg, _repo)); cl_git_pass(git_config_set_string(cfg, "remote.specless.url", "http://example.com")); cl_git_pass(git_remote_list(&list, _repo)); - cl_assert(list.count == 5); + cl_assert(list.count == 4); git_strarray_free(&list); git_config_free(cfg);