1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-05 10:07:22 +00:00

Fix typo in gitea downloader test and add missing codebase in ToGitServiceType (#33146)

This commit is contained in:
yp05327
2025-01-09 03:34:53 +09:00
committed by GitHub
parent 9c00e065a1
commit e177239529
3 changed files with 13 additions and 3 deletions

View File

@ -30,10 +30,10 @@ func TestGiteaDownloadRepo(t *testing.T) {
downloader, err := NewGiteaDownloader(context.Background(), "https://gitea.com", "gitea/test_repo", "", "", giteaToken)
if downloader == nil {
t.Fatal("NewGitlabDownloader is nil")
t.Fatal("NewGiteaDownloader is nil")
}
if !assert.NoError(t, err) {
t.Fatal("NewGitlabDownloader error occur")
t.Fatal("NewGiteaDownloader error occur")
}
repo, err := downloader.GetRepoInfo()