(t *testing.T)
| 2537 | } |
| 2538 | |
| 2539 | func TestBuildOverlappingPaths(t *testing.T) { |
| 2540 | t.Parallel() |
| 2541 | // This may differ from LsFilesOverlappingPaths as we do a build of an image here. |
| 2542 | // Building of images results in bufmodule.ModuleSetToModuleReadBucketWithOnlyProtoFiles being |
| 2543 | // called, which is the original source of the issue that resulted in this test. |
| 2544 | testBuildLsFilesFormatImport( |
| 2545 | t, |
| 2546 | 0, |
| 2547 | []string{ |
| 2548 | `a/v3/a.proto`, |
| 2549 | `a/v3/foo/bar.proto`, |
| 2550 | `a/v3/foo/foo.proto`, |
| 2551 | }, |
| 2552 | filepath.Join("testdata", "paths"), |
| 2553 | "--path", |
| 2554 | filepath.Join("testdata", "paths", "a", "v3"), |
| 2555 | "--path", |
| 2556 | filepath.Join("testdata", "paths", "a", "v3", "foo"), |
| 2557 | ) |
| 2558 | } |
| 2559 | |
| 2560 | func TestExportProto(t *testing.T) { |
| 2561 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…