aboutsummaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2021-11-22 06:18:31 +0000
committerGitHub <noreply@github.com>2021-11-22 14:18:31 +0800
commit7743f13bed7dc5958c19603ccadd095db24c6b80 (patch)
treee81aea5c539f8f25652d52d2ea35cf9c1fa0677d /integrations
parent55e9228866ed333e4636af20615fa469ee867bdb (diff)
downloadgitea-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.go2
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)