(t *testing.T)
| 635 | } |
| 636 | |
| 637 | func TestEmptyFiles(t *testing.T) { |
| 638 | t.Parallel() |
| 639 | t.Run("include_empty_file", func(t *testing.T) { |
| 640 | t.Parallel() |
| 641 | runDiffTest(t, "testdata/empty", "empty.include.txtar", WithIncludeTypes("include")) |
| 642 | }) |
| 643 | t.Run("exclude_empty_file", func(t *testing.T) { |
| 644 | t.Parallel() |
| 645 | runDiffTest(t, "testdata/empty", "empty.exclude.txtar", WithExcludeTypes("include")) |
| 646 | }) |
| 647 | } |
| 648 | |
| 649 | func getImage(ctx context.Context, logger *slog.Logger, testdataDir string, options ...bufimage.BuildImageOption) (storage.ReadWriteBucket, bufimage.Image, error) { |
| 650 | bucket, err := storageos.NewProvider().NewReadWriteBucket(testdataDir) |
nothing calls this directly
no test coverage detected
searching dependent graphs…