grim/convey

Add back the old --memory flag

2021-12-22, Gary Kramlich
aa8a9d2b2ae2
Add back the old --memory flag
package docker
import (
"testing"
"github.com/stretchr/testify/assert"
"keep.imfreedom.org/grim/convey/tasks"
)
func TestImport(t *testing.T) {
e := &Import{
Files: []string{".:."},
}
assert.NoError(t, e.Valid())
}
func TestImportFilesRequired(t *testing.T) {
e := &Import{}
assert.ErrorIs(t, e.Valid(), tasks.ErrNoFiles)
}