()
| 179 | } |
| 180 | |
| 181 | func testAccountCmd() (*cobra.Command, *bytes.Buffer) { |
| 182 | var stdout bytes.Buffer |
| 183 | cmd := &cobra.Command{Use: "account"} |
| 184 | cmd.SetOut(&stdout) |
| 185 | cmd.Flags().String(outputFlag, "text", "") |
| 186 | return cmd, &stdout |
| 187 | } |
| 188 | |
| 189 | func setAccountOutputJSON(t *testing.T, cmd *cobra.Command) { |
| 190 | t.Helper() |
no outgoing calls
no test coverage detected