grim/convey

Add back the old --memory flag

2021-12-22, Gary Kramlich
aa8a9d2b2ae2
Add back the old --memory flag
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)
}