Commit f3494fc7 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

fmt

parent 20d7f74f
...@@ -81,8 +81,8 @@ func DefaultEnvironmentConfig() *EnvironmentConfig { ...@@ -81,8 +81,8 @@ func DefaultEnvironmentConfig() *EnvironmentConfig {
config := &EnvironmentConfig{} config := &EnvironmentConfig{}
config.Commands = make([]string, 0) config.Commands = make([]string, 0)
config.Ui = &BasicUi{ config.Ui = &BasicUi{
Reader: os.Stdin, Reader: os.Stdin,
Writer: os.Stdout, Writer: os.Stdout,
ErrorWriter: os.Stderr, ErrorWriter: os.Stderr,
} }
......
...@@ -30,8 +30,8 @@ func testComponentFinder() *ComponentFinder { ...@@ -30,8 +30,8 @@ func testComponentFinder() *ComponentFinder {
func testEnvironment() Environment { func testEnvironment() Environment {
config := DefaultEnvironmentConfig() config := DefaultEnvironmentConfig()
config.Ui = &BasicUi{ config.Ui = &BasicUi{
Reader: new(bytes.Buffer), Reader: new(bytes.Buffer),
Writer: new(bytes.Buffer), Writer: new(bytes.Buffer),
ErrorWriter: new(bytes.Buffer), ErrorWriter: new(bytes.Buffer),
} }
......
...@@ -25,8 +25,8 @@ func readErrorWriter(ui *BasicUi) (result string) { ...@@ -25,8 +25,8 @@ func readErrorWriter(ui *BasicUi) (result string) {
func testUi() *BasicUi { func testUi() *BasicUi {
return &BasicUi{ return &BasicUi{
Reader: new(bytes.Buffer), Reader: new(bytes.Buffer),
Writer: new(bytes.Buffer), Writer: new(bytes.Buffer),
ErrorWriter: new(bytes.Buffer), ErrorWriter: new(bytes.Buffer),
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment