mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Enable addtional linters (#34085)
enable mirror, usestdlibbars and perfsprint part of: https://github.com/go-gitea/gitea/issues/34083 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -94,7 +94,7 @@ func testPackageCargo(t *testing.T, _ *neturl.URL) {
|
||||
}
|
||||
|
||||
root := fmt.Sprintf("%sapi/packages/%s/cargo", setting.AppURL, user.Name)
|
||||
url := fmt.Sprintf("%s/api/v1/crates", root)
|
||||
url := root + "/api/v1/crates"
|
||||
|
||||
t.Run("Index", func(t *testing.T) {
|
||||
t.Run("Git/Config", func(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user