grim/convey

Move plans to the runtime package

2021-12-23, Gary Kramlich
178aec6c4f86
Move plans to the runtime package
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)
}