(t *testing.T, got jsonHelpOutputForTest, want []string)
| 993 | } |
| 994 | |
| 995 | func assertJSONHelpResultPaths(t *testing.T, got jsonHelpOutputForTest, want []string) { |
| 996 | t.Helper() |
| 997 | |
| 998 | var paths []string |
| 999 | for _, result := range got.Results { |
| 1000 | paths = append(paths, result.Result.Path) |
| 1001 | } |
| 1002 | if !reflect.DeepEqual(paths, want) { |
| 1003 | t.Fatalf("result paths = %v, want %v", paths, want) |
| 1004 | } |
| 1005 | } |
| 1006 | |
| 1007 | func jsonHelpManifestByPath(t *testing.T, got jsonHelpOutputForTest, path string) jsonCommandManifest { |
| 1008 | t.Helper() |
no outgoing calls
no test coverage detected