diff --git a/src/pkg/netchan/netchan_test.go b/src/pkg/netchan/netchan_test.go index 1981a00c9ec..ca3f4d4c798 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 }