(t *testing.T, args []jsonCommandArg, name string)
| 1058 | } |
| 1059 | |
| 1060 | func 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 | |
| 1071 | func assertJSONHelpInputProperty(t *testing.T, schema jsonCommandInputSchema, name string, propertyType string, cliKind string, cliName string, valueKind string) jsonCommandInputProperty { |
| 1072 | t.Helper() |
no outgoing calls
no test coverage detected