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) -}