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

Function TestRestoreCommandSupportsStructuredOutput

cmd/restore_test.go:272–276  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

270}
271
272func TestRestoreCommandSupportsStructuredOutput(t *testing.T) {
273 if !commandSupportsStructuredOutput(restoreCmd) {
274 t.Fatal("restore command should support structured output")
275 }
276}
277
278func testRestoreCmd() (*cobra.Command, *bytes.Buffer) {
279 var stdout bytes.Buffer

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected