Skip to content

Commit e29312a

Browse files
author
Gusted
committed
Use f variant to parse formatting
As title. Related: https://drone.gitea.io/go-gitea/gitea/46990/3/6 (Check where the test fail)
1 parent 55e9228 commit e29312a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/api_repo_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ func TestAPIRepoMigrate(t *testing.T) {
334334
case "You can not import from disallowed hosts.":
335335
assert.EqualValues(t, "private-ip", testCase.repoName)
336336
default:
337-
assert.Fail(t, "unexpected error '%v' on url '%s'", respJSON["message"], testCase.cloneURL)
337+
assert.Failf(t, "unexpected error '%v' on url '%s'", respJSON["message"], testCase.cloneURL)
338338
}
339339
} else {
340340
assert.EqualValues(t, testCase.expectedStatus, resp.Code)

0 commit comments

Comments
 (0)