grim/convey
Clone
Summary
Browse
Changes
Graph
Use the logger for info/warning messages at startup
redux
2021-10-11, Gary Kramlich
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
))
}