grim/convey

eff7fbacd5ee
remove the helper function for running plans
package podman
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestRemove(t *testing.T) {
r := &Remove{
Tags: []string{"foo"},
}
assert.NoError(t, r.Valid())
}
func TestRemoveTagsRequired(t *testing.T) {
r := &Remove{}
assert.ErrorIs(t, r.Valid(), ErrNoTags)
}