(image bufimage.Image)
| 413 | } |
| 414 | |
| 415 | func testGetImageImportPaths(image bufimage.Image) []string { |
| 416 | var importNames []string |
| 417 | for _, file := range image.Files() { |
| 418 | if file.IsImport() { |
| 419 | importNames = append(importNames, file.Path()) |
| 420 | } |
| 421 | } |
| 422 | sort.Strings(importNames) |
| 423 | return importNames |
| 424 | } |
| 425 | |
| 426 | func testFileAnnotations(t *testing.T, relDirPath string, parallelism bool, want ...string) { |
| 427 | t.Helper() |
no test coverage detected
searching dependent graphs…