grim/convey

466f881e1593
Use the logger for info/warning messages at startup
package podman
import (
"testing"
. "github.com/onsi/gomega"
)
func TestRemove(t *testing.T) {
g := NewGomegaWithT(t)
r := &Remove{
Tags: []string{"foo"},
}
g.Expect(r.Valid()).To(BeNil())
}
func TestRemoveTagsRequired(t *testing.T) {
g := NewGomegaWithT(t)
r := &Remove{}
g.Expect(r.Valid()).To(MatchError(ErrNoTags))
}