action/push: remove test for deleted WithPushOptWriter option

Signed-off-by: Ilya Kiselev <kis-ilya-a@yandex.ru>
Ilya Kiselev 3 months ago
parent 948d087771
commit 03c43a582c

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

Loading…
Cancel
Save