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

Function jsonHelpArgByName

cmd/help_json_test.go:1060–1069  ·  view source on GitHub ↗
(t *testing.T, args []jsonCommandArg, name string)

Source from the content-addressed store, hash-verified

1058}
1059
1060func jsonHelpArgByName(t *testing.T, args []jsonCommandArg, name string) jsonCommandArg {
1061 t.Helper()
1062 for _, arg := range args {
1063 if arg.Name == name {
1064 return arg
1065 }
1066 }
1067 t.Fatalf("arg %q not found", name)
1068 return jsonCommandArg{}
1069}
1070
1071func assertJSONHelpInputProperty(t *testing.T, schema jsonCommandInputSchema, name string, propertyType string, cliKind string, cliName string, valueKind string) jsonCommandInputProperty {
1072 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected