From 03c43a582c1b8bf2db49a1c2e699e0fe02b335b3 Mon Sep 17 00:00:00 2001 From: Ilya Kiselev Date: Sun, 5 Apr 2026 21:31:36 +0300 Subject: [PATCH] action/push: remove test for deleted WithPushOptWriter option Signed-off-by: Ilya Kiselev --- pkg/action/push_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/action/push_test.go b/pkg/action/push_test.go index 125799252..7fcee78c5 100644 --- a/pkg/action/push_test.go +++ b/pkg/action/push_test.go @@ -17,7 +17,6 @@ limitations under the License. package action import ( - "bytes" "testing" "github.com/stretchr/testify/assert" @@ -57,10 +56,3 @@ func TestNewPushWithPlainHTTP(t *testing.T) { assert.True(t, client.plainHTTP) } -func TestNewPushWithPushOptWriter(t *testing.T) { - buf := new(bytes.Buffer) - client := NewPushWithOpts(WithPushOptWriter(buf)) - - assert.NotNil(t, client) - assert.Equal(t, buf, client.out) -}