(t *testing.T, module bufmodule.Module, expectedFilePaths ...string)
| 675 | } |
| 676 | |
| 677 | func testFilePaths(t *testing.T, module bufmodule.Module, expectedFilePaths ...string) { |
| 678 | ctx := t.Context() |
| 679 | fileInfos, err := bufmodule.GetFileInfos(ctx, module) |
| 680 | require.NoError(t, err) |
| 681 | require.Equal( |
| 682 | t, |
| 683 | expectedFilePaths, |
| 684 | bufmodule.FileInfoPaths(fileInfos), |
| 685 | ) |
| 686 | } |
| 687 | |
| 688 | func testTargetFilePaths(t *testing.T, module bufmodule.Module, expectedFilePaths ...string) { |
| 689 | ctx := t.Context() |
no test coverage detected
searching dependent graphs…