mirror of
https://github.com/golang/go
synced 2024-11-25 15:17:58 -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