From 9a30fa893b730f1184002f1e391a9d89894f9c93 Mon Sep 17 00:00:00 2001 From: Charlie Voiselle <464492+angrycub@users.noreply.github.com> Date: Fri, 6 Oct 2023 02:29:53 -0400 Subject: [PATCH] Mark listAllTestPacks as a test helper --- internal/pkg/cache/cache_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/pkg/cache/cache_test.go b/internal/pkg/cache/cache_test.go index fa86c5f2..135a32d4 100644 --- a/internal/pkg/cache/cache_test.go +++ b/internal/pkg/cache/cache_test.go @@ -698,6 +698,7 @@ func (p packtuple) String() string { // to discover and count the registries, refs, and packs in a // given cachePath func listAllTestPacks(t *testing.T, cachePath string) packtuples { + t.Helper() acc := make([]packtuple, 0, 10) dirFS := os.DirFS(cachePath) fs.WalkDir(dirFS, ".", func(p string, d fs.DirEntry, err error) error {