aboutsummaryrefslogtreecommitdiff
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
commit04721ff309c142d219fda82dba2bc4ad6ef18aeb (patch)
tree769ffa27419eb7edcb0024f641f20cb0f9738dd0
parent2e632088ce006505d924cfc40950fb4eb616d490 (diff)
downloadgo-04721ff309c142d219fda82dba2bc4ad6ef18aeb.tar.gz
go-04721ff309c142d219fda82dba2bc4ad6ef18aeb.zip
netchan: fix typo in test
R=rsc CC=golang-dev https://golang.org/cl/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 1981a00c9e..ca3f4d4c79 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
}