diff options
author | Russ Cox <rsc@golang.org> | 2010-05-11 14:57:08 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-05-11 14:57:08 -0700 |
commit | 0617eec231a9860f8881498cbb12ff79b0f437a1 (patch) | |
tree | d7966c9ca8fcad5df61bdaefbc5302fed4063e46 /src | |
parent | f5138fde6624fde3277defa1a085950edf4e53c0 (diff) | |
download | golang-0617eec231a9860f8881498cbb12ff79b0f437a1.tar.gz |
netchan: be less chatty during gotest
R=r
CC=golang-dev
http://codereview.appspot.com/1186041
Diffstat (limited to 'src')
-rw-r--r-- | src/pkg/netchan/netchan_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/pkg/netchan/netchan_test.go b/src/pkg/netchan/netchan_test.go index cdf709406..bce37c866 100644 --- a/src/pkg/netchan/netchan_test.go +++ b/src/pkg/netchan/netchan_test.go @@ -4,10 +4,7 @@ package netchan -import ( - "fmt" - "testing" -) +import "testing" type value struct { i int @@ -35,7 +32,6 @@ func exportReceive(exp *Exporter, t *testing.T) { } for i := 0; i < count; i++ { v := <-ch - fmt.Printf("%v\n", v) if v.i != 45+i || v.s != "hello" { t.Errorf("export Receive: bad value: expected 4%d, hello; got %+v", 45+i, v) } @@ -50,7 +46,6 @@ func importReceive(imp *Importer, t *testing.T) { } for i := 0; i < count; i++ { v := <-ch - fmt.Printf("%v\n", v) if v.i != 23+i || v.s != "hello" { t.Errorf("importReceive: bad value: expected %d, hello; got %+v", 23+i, v) } |