diff options
author | Gusted <williamzijl7@hotmail.com> | 2021-11-22 06:18:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 14:18:31 +0800 |
commit | 7743f13bed7dc5958c19603ccadd095db24c6b80 (patch) | |
tree | e81aea5c539f8f25652d52d2ea35cf9c1fa0677d /integrations | |
parent | 55e9228866ed333e4636af20615fa469ee867bdb (diff) | |
download | gitea-7743f13bed7dc5958c19603ccadd095db24c6b80.tar.gz gitea-7743f13bed7dc5958c19603ccadd095db24c6b80.zip |
Use `f` variant to parse formatting (#17751)
As title.
Diffstat (limited to 'integrations')
-rw-r--r-- | integrations/api_repo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_repo_test.go b/integrations/api_repo_test.go index 4a9e2273e0..8de020d074 100644 --- a/integrations/api_repo_test.go +++ b/integrations/api_repo_test.go @@ -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) |