plugins: adds new no-op plugin that may be used as a test-double

Plugin can be configured to record all inputs and to respond with
arbitrary stdout or error message.  Will support upcoming integration
testing.
This commit is contained in:
Gabe Rosenhouse 2016-07-14 13:59:10 -07:00
parent 728071e7d1
commit 6496749565

View File

@ -16,6 +16,7 @@ package testutils
import "errors"
// BadReader is an io.Reader which always errors
type BadReader struct {
Error error
}