mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-08 22:13:26 +09:00
fix(deps): update go dependencies (#38194)
Update go deps and fix discovered issues Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
co-authored by
silverwind
wxiaoguang
parent
4ce63a1d57
commit
5e5f5f3116
@@ -38,7 +38,8 @@ func Test_CmdKeys(t *testing.T) {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
// FIXME: this test is not quite right. Each "command run" always re-initializes settings
|
||||
keysCmd := cmd.NewKeysCommand()
|
||||
keysCmd.Before = nil // don't re-initialize logger during the test
|
||||
keysCmd.Before = nil // don't re-initialize logger during the test
|
||||
keysCmd.HideHelp = true // skip help on usage error, which would re-initialize settings (urfave/cli v3.10)
|
||||
|
||||
var stdout, stderr bytes.Buffer
|
||||
app := &cli.Command{
|
||||
|
||||
Reference in New Issue
Block a user