grim/convey
Clone
Summary
Browse
Changes
Graph
update the dependencies
redux
2021-12-18, Gary Kramlich
8d1e9a570376
update the dependencies
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
)
}