grim/convey

0a455b63a0ec
Apparently you need an index.md to get an index.html..
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)
}