diff options
author | Jakob Unterwurzacher | 2015-10-04 14:36:20 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-10-04 14:49:47 +0200 |
commit | 89fef80d32708874c95742db0a7b593bcfd3b31d (patch) | |
tree | adffeac51b1e945e32583b07ab0328a3c2539aad /main_test.go | |
parent | 5bd08abf4095fb553355c9b007c8ae4a4314b970 (diff) |
Run go fmt
Diffstat (limited to 'main_test.go')
-rw-r--r-- | main_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main_test.go b/main_test.go index dba3ef1..de433c7 100644 --- a/main_test.go +++ b/main_test.go @@ -227,12 +227,12 @@ func BenchmarkStreamRead(t *testing.B) { if t.N > mb { // Grow file so we can satisfy the test fmt.Printf("Growing file to %d MB... ", t.N) - f2, err := os.OpenFile(fn, os.O_WRONLY | os.O_APPEND, 0666) + f2, err := os.OpenFile(fn, os.O_WRONLY|os.O_APPEND, 0666) if err != nil { fmt.Println(err) t.FailNow() } - for h := 0; h < t.N - mb ; h++ { + for h := 0; h < t.N-mb; h++ { _, err = f2.Write(buf) if err != nil { fmt.Println(err) |