grim/convey
Clone
Summary
Browse
Changes
Graph
Attempt to load convey.yaml if convey.yml cound not be found
redux
2021-10-11, Gary Kramlich
a13a27a3ff4a
Attempt to load convey.yaml if convey.yml cound not be found
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
))
}