Unexport test.Command.Stdin

This commit is contained in:
Cody Soyland 2018-07-05 22:03:46 -05:00
parent 66df2cf126
commit 3aa759bff7

View file

@ -36,7 +36,7 @@ type Command struct {
commandOptions []server.CommandOption
Stdin bytes.Buffer
stdin bytes.Buffer
Stdout bytes.Buffer
Stderr bytes.Buffer
}
@ -59,7 +59,7 @@ func NewCommand(opts ...server.CommandOption) *Command {
m.Config.DataDir = path
m.Config.Bind = "http://localhost:0"
m.Config.Cluster.Disabled = true
m.Command.Stdin = &m.Stdin
m.Command.Stdin = &m.stdin
m.Command.Stdout = &m.Stdout
m.Command.Stderr = &m.Stderr