mirror of https://github.com/golang/go.git
netchan: fix typo in test
R=rsc CC=golang-dev https://golang.org/cl/1522041
This commit is contained in:
parent
2e632088ce
commit
04721ff309
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue