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

Function TestVersionCommandSupportsStructuredOutput

cmd/version_test.go:73–77  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

71}
72
73func TestVersionCommandSupportsStructuredOutput(t *testing.T) {
74 if !commandSupportsStructuredOutput(NewVersionCommand("1.2.3")) {
75 t.Fatal("version command should support structured output")
76 }
77}
78
79func stubDropboxVersion(t *testing.T, sdkVersion, specVersion string) {
80 t.Helper()

Callers

nothing calls this directly

Calls 2

NewVersionCommandFunction · 0.85

Tested by

no test coverage detected