From 83b93176cfeef3e15f066bbe5565ba806d444131 Mon Sep 17 00:00:00 2001 From: Jeff Martin Date: Fri, 9 Oct 2026 12:48:56 -0700 Subject: [PATCH] Fix bad merge in pin plan test #116 and #117 merged cleanly but left plan_test.go uncompilable: a duplicate lockfile import, and a newSlowPathFixtures call still passing the bool parameter #117 removed. --- internal/pin/plan_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/pin/plan_test.go b/internal/pin/plan_test.go index 3e6d6e6b..80624d40 100644 --- a/internal/pin/plan_test.go +++ b/internal/pin/plan_test.go @@ -10,7 +10,6 @@ import ( parserlock "github.com/github/actions-lockfile/go/pkg/lockfile" "github.com/github/gh-actions-lock/internal/ghapi/httpmock" - "github.com/github/gh-actions-lock/internal/lockfile" "github.com/github/gh-actions-lock/internal/pinpool" "github.com/github/gh-actions-lock/internal/resolve" "github.com/github/gh-actions-lock/internal/tag" @@ -798,7 +797,7 @@ func TestNoNarrow_BareSHA(t *testing.T) { }) t.Run("partial scan rejects unrecorded shared action rewrite", func(t *testing.T) { - resolver, tagger, wr, _ := newSlowPathFixtures(t, false) + resolver, tagger, wr, _ := newSlowPathFixtures(t) wr.SelfActionRefs = append([]parserlock.ActionRef(nil), wr.ActionRefs...) _, err := planWorkflow(context.Background(), wr, PlanOptions{