Browse Source

Use `f` variant to parse formatting (#17751)

As title.
tags/v1.16.0-rc1
Gusted 2 years ago
parent
commit
7743f13bed
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      integrations/api_repo_test.go

+ 1
- 1
integrations/api_repo_test.go View File

@@ -334,7 +334,7 @@ func TestAPIRepoMigrate(t *testing.T) {
case "You can not import from disallowed hosts.":
assert.EqualValues(t, "private-ip", testCase.repoName)
default:
assert.Fail(t, "unexpected error '%v' on url '%s'", respJSON["message"], testCase.cloneURL)
assert.Failf(t, "unexpected error '%v' on url '%s'", respJSON["message"], testCase.cloneURL)
}
} else {
assert.EqualValues(t, testCase.expectedStatus, resp.Code)

Loading…
Cancel
Save