Skip to content

Commit 7743f13

Browse files
author
Gusted
authored
Use f variant to parse formatting (#17751)
As title.
1 parent 55e9228 commit 7743f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/api_repo_test.go

+1-1
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)