Unexport test.Command.Stderr

This commit is contained in:
Cody Soyland 2018-07-05 22:03:58 -05:00
parent 44e0659934
commit 39504f8ded

View file

@ -38,7 +38,7 @@ type Command struct {
stdin bytes.Buffer
stdout bytes.Buffer
Stderr bytes.Buffer
stderr bytes.Buffer
}
func OptAllowedOrigins(origins []string) server.CommandOption {
@ -61,7 +61,7 @@ func NewCommand(opts ...server.CommandOption) *Command {
m.Config.Cluster.Disabled = true
m.Command.Stdin = &m.stdin
m.Command.Stdout = &m.stdout
m.Command.Stderr = &m.Stderr
m.Command.Stderr = &m.stderr
if testing.Verbose() {
m.Command.Stdout = io.MultiWriter(os.Stdout, m.Command.Stdout)