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

Function TestStructuredOutputCommandAudit

cmd/json_contract_test.go:22–37  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

20)
21
22func TestStructuredOutputCommandAudit(t *testing.T) {
23 got := structuredOutputCommandPathsWithVersion()
24 sort.Strings(got)
25
26 want := expectedStructuredOutputCommands()
27 sort.Strings(want)
28
29 if len(got) != len(want) {
30 t.Fatalf("structured commands = %v, want %v", got, want)
31 }
32 for i := range want {
33 if got[i] != want[i] {
34 t.Fatalf("structured commands = %v, want %v", got, want)
35 }
36 }
37}
38
39func TestStructuredOutputSuccessFixtureAudit(t *testing.T) {
40 contractCommands := jsonContractCommandPathsWithVersion()

Callers

nothing calls this directly

Tested by

no test coverage detected