mirror of
https://github.com/golang/go
synced 2024-11-25 09:37:56 -07:00
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
|
v := <-ch
|
||||||
if closed(ch) {
|
if closed(ch) {
|
||||||
if i != closeCount {
|
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
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user