Browse Source

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

As title.
pull/14784/merge
Gusted 6 months ago committed by GitHub
parent
commit
7743f13bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      integrations/api_repo_test.go

2
integrations/api_repo_test.go

@ -334,7 +334,7 @@ func TestAPIRepoMigrate(t *testing.T) { @@ -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