diff options
Diffstat (limited to 'extras/hs-test/main.go')
-rwxr-xr-x | extras/hs-test/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/main.go b/extras/hs-test/main.go index 10149178ce6..f54b6c4d910 100755 --- a/extras/hs-test/main.go +++ b/extras/hs-test/main.go @@ -77,7 +77,7 @@ func writeSyncFile(res *ActionResult) error { defer f.Close() f.Write([]byte(str)) } else { - return fmt.Errorf("sync file exists, delete the file frst") + return fmt.Errorf("sync file exists, delete the file first") } return nil } @@ -108,7 +108,7 @@ func ActionResultWithStderr(s string) ActionResultOptionFn { func ActionResultWithStdout(s string) ActionResultOptionFn { return func(res *ActionResult) { - res.ErrOutput = s + res.StdOutput = s } } |