grim/convey
Clone
Summary
Browse
Changes
Graph
Fix codespell issues
12 months ago, Elliott Sales de Andrade
1b692d310d7e
Fix codespell issues
Testing Done:
Ran `convey run everything`; no errors from codespell.
Reviewed at https://reviews.imfreedom.org/r/2453/
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
)
}