grim/convey
Clone
Summary
Browse
Changes
Graph
Fix issues codespell found
redux
2021-12-20, Gary Kramlich
1c24cc3b756f
Fix issues codespell found
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
)
}