Skip to content

Commit

Permalink
use SetOut instead of SetOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnester committed Feb 25, 2025
1 parent b0de967 commit 8d33350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/cmdgroup/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func TestCommandFlagGrouping(t *testing.T) {
cmd.Flags().BoolP("bool", "b", false, "Bool flag")

buf := bytes.NewBuffer(nil)
cmd.SetOutput(buf)
cmd.SetOut(buf)
err := cmd.Usage()
require.NoError(t, err)

Expand Down

0 comments on commit 8d33350

Please sign in to comment.