summaryrefslogtreecommitdiff
path: root/main_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-11-03 21:11:07 +0100
committerJakob Unterwurzacher2015-11-03 21:11:07 +0100
commitb80167b39d0b0486b6a257bf378fadb3cfec65c2 (patch)
treef61cf8c9b426cdb4956038f3614ea452f6cca611 /main_test.go
parent988e0a047c01b2f59c4e059876bfb2122981d605 (diff)
tests: reduce noise but make test.bash accept "-v"
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main_test.go b/main_test.go
index 9262e6f..8e3af8f 100644
--- a/main_test.go
+++ b/main_test.go
@@ -319,7 +319,9 @@ func TestRmwRace(t *testing.T) {
}
*/
}
- fmt.Println(goodMd5)
+ if testing.Verbose() {
+ fmt.Println(goodMd5)
+ }
}
func BenchmarkStreamWrite(t *testing.B) {
buf := make([]byte, 1024*1024)