grim/convey
Clone
Summary
Browse
Changes
Graph
remove a bunch of debug output from the fs copy stuff
redux
2021-12-18, Gary Kramlich
86694452d869
remove a bunch of debug output from the fs copy stuff
package
docker
import
(
"testing"
"github.com/stretchr/testify/assert"
"keep.imfreedom.org/grim/convey/podman"
)
func
TestLogout
(
t
*
testing
.
T
)
{
l
:=
&
Logout
{
Server
:
"docker.io"
,
}
assert
.
NoError
(
t
,
l
.
Valid
())
}
func
TestLoginRegistryRequired
(
t
*
testing
.
T
)
{
l
:=
&
Logout
{}
assert
.
ErrorIs
(
t
,
l
.
Valid
(),
podman
.
ErrNoRegistry
)
}