MCPcopy Create free account
hub / github.com/dropbox/dbxcli / testAccountCmd

Function testAccountCmd

cmd/account_test.go:181–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179}
180
181func 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
189func setAccountOutputJSON(t *testing.T, cmd *cobra.Command) {
190 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected