summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-03-13 17:52:07 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-21 21:12:10 +0100
commit3a1dc420f6b49e21e0b837a9fb08918fdf1ac9fc (patch)
treec5de82e5e7a84807c3f70c9acfde3e2f39509962
parentcf688ffd2841dbf43901dcf252f30d31cf3bf242 (diff)
downloadlibgit2-3a1dc420f6b49e21e0b837a9fb08918fdf1ac9fc.tar.gz
Put back the number of expected references to 6 from the test repo
This was but down to 5 when GitHub made a change to their server which made them stop honouring the include-tag request. This has recently been corrected, so we can bring it back up to six.
-rw-r--r--tests/online/fetch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/online/fetch.c b/tests/online/fetch.c
index 848b87410..484f4b57d 100644
--- a/tests/online/fetch.c
+++ b/tests/online/fetch.c
@@ -58,17 +58,17 @@ static void do_fetch(const char *url, git_remote_autotag_option_t flag, int n)
void test_online_fetch__default_git(void)
{
- do_fetch("git://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_AUTO, 5);
+ do_fetch("git://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_AUTO, 6);
}
void test_online_fetch__default_http(void)
{
- do_fetch("http://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_AUTO, 5);
+ do_fetch("http://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_AUTO, 6);
}
void test_online_fetch__default_https(void)
{
- do_fetch("https://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_AUTO, 5);
+ do_fetch("https://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_AUTO, 6);
}
void test_online_fetch__no_tags_git(void)