grim/convey

Move plans to the runtime package

2021-12-23, Gary Kramlich
178aec6c4f86
Move plans to the runtime package
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)
}