grim/convey
Clone
Summary
Browse
Changes
Graph
Fix some minor linting issues
5 months ago, Elliott Sales de Andrade
62cc853bf396
Fix some minor linting issues
Testing Done:
Ran `golint`, saw fewer lints, and ran `go build .`
Reviewed at https://reviews.imfreedom.org/r/2869/
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
)
}