action/push: remove test for deleted WithPushOptWriter option

Signed-off-by: Ilya Kiselev <kis-ilya-a@yandex.ru>
Ilya Kiselev 3 months ago
parent 5a093e9d8e
commit 0fa2b9a350

@ -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.Equal(t, true, 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