File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1111#define BB_REPO_URL "https://libgit3@bitbucket.org/libgit2/testgitrepository.git"
1212#define BB_REPO_URL_WITH_PASS "https://libgit3:libgit3@bitbucket.org/libgit2/testgitrepository.git"
1313#define BB_REPO_URL_WITH_WRONG_PASS "https://libgit3:wrong@bitbucket.org/libgit2/testgitrepository.git"
14+ #define GOOGLESOURCE_REPO_URL "https://chromium.googlesource.com/external/github.com/sergi/go-diff"
1415
1516#define SSH_REPO_URL "ssh://github.com/libgit2/TestGitRepository"
1617
@@ -463,6 +464,13 @@ void test_online_clone__bitbucket_falls_back_to_specified_creds(void)
463464 cl_fixture_cleanup ("./foo" );
464465}
465466
467+ void test_online_clone__googlesource (void )
468+ {
469+ cl_git_pass (git_clone (& g_repo , GOOGLESOURCE_REPO_URL , "./foo" , & g_options ));
470+ git_repository_free (g_repo ); g_repo = NULL ;
471+ cl_fixture_cleanup ("./foo" );
472+ }
473+
466474static int cancel_at_half (const git_indexer_progress * stats , void * payload )
467475{
468476 GIT_UNUSED (payload );
You can’t perform that action at this time.
0 commit comments