grim/convey
Clone
Summary
Browse
Changes
Graph
Remove an uncessary comment
redux
2021-12-18, Gary Kramlich
d285956de25f
Remove an uncessary comment
package
podman
import
(
"testing"
"github.com/stretchr/testify/assert"
)
func
TestLogout
(
t
*
testing
.
T
)
{
l
:=
&
Logout
{
Registry
:
"docker.io"
,
}
assert
.
NoError
(
t
,
l
.
Valid
())
}
func
TestLogoutRegistryRequired
(
t
*
testing
.
T
)
{
l
:=
&
Logout
{}
assert
.
ErrorIs
(
t
,
l
.
Valid
(),
ErrNoRegistry
)
}