(t *testing.T, got jsonHelpOutputForTest, path string)
| 1005 | } |
| 1006 | |
| 1007 | func jsonHelpManifestByPath(t *testing.T, got jsonHelpOutputForTest, path string) jsonCommandManifest { |
| 1008 | t.Helper() |
| 1009 | |
| 1010 | for _, result := range got.Results { |
| 1011 | if result.Result.Path == path { |
| 1012 | return result.Result |
| 1013 | } |
| 1014 | } |
| 1015 | t.Fatalf("manifest for %q not found", path) |
| 1016 | return jsonCommandManifest{} |
| 1017 | } |
| 1018 | |
| 1019 | func assertJSONHelpFlagNames(t *testing.T, flags []jsonCommandFlag, want []string) { |
| 1020 | t.Helper() |
no outgoing calls
no test coverage detected