grim/convey

Add a .reviewboardrc file

2022-03-26, Gary Kramlich
8fea0c778f8e
Add a .reviewboardrc file
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)
}