diff options
Diffstat (limited to 'services/migrations/onedev_test.go')
-rw-r--r-- | services/migrations/onedev_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/migrations/onedev_test.go b/services/migrations/onedev_test.go index 0cf1ab852c..6a17eb334b 100644 --- a/services/migrations/onedev_test.go +++ b/services/migrations/onedev_test.go @@ -6,7 +6,6 @@ package migrations import ( "context" - "fmt" "net/http" "net/url" "testing" @@ -26,7 +25,7 @@ func TestOneDevDownloadRepo(t *testing.T) { u, _ := url.Parse("https://code.onedev.io") downloader := NewOneDevDownloader(context.Background(), u, "", "", "go-gitea-test_repo") if err != nil { - t.Fatal(fmt.Sprintf("NewOneDevDownloader is nil: %v", err)) + t.Fatalf("NewOneDevDownloader is nil: %v", err) } repo, err := downloader.GetRepoInfo() assert.NoError(t, err) |