1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:04:40 -07:00

netchan: fix typo in test

R=rsc
CC=golang-dev
https://golang.org/cl/1522041
This commit is contained in:
Rob Pike 2010-06-03 13:16:09 -07:00
parent 2e632088ce
commit 04721ff309

View File

@ -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
}