summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-06-03 13:16:09 -0700
committerRob Pike <r@golang.org>2010-06-03 13:16:09 -0700
commitcffcd42e4cc387995b102b9214125e0d71b38775 (patch)
tree31b64c9253a5a89afa0dda67d7d9c0251571280b
parente25a2852bf1a9d9d8b5a97781df4aa43f07ea014 (diff)
downloadgolang-cffcd42e4cc387995b102b9214125e0d71b38775.tar.gz
netchan: fix typo in test
R=rsc CC=golang-dev http://codereview.appspot.com/1522041
-rw-r--r--src/pkg/netchan/netchan_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/netchan/netchan_test.go b/src/pkg/netchan/netchan_test.go
index 1981a00c9..ca3f4d4c7 100644
--- a/src/pkg/netchan/netchan_test.go
+++ b/src/pkg/netchan/netchan_test.go
@@ -50,7 +50,7 @@ func importReceive(imp *Importer, t *testing.T) {
v := <-ch
if closed(ch) {
if i != closeCount {
- t.Errorf("expected close at %d; got one at %d\n", count/2, i)
+ t.Errorf("expected close at %d; got one at %d\n", closeCount, i)
}
break
}