]> Cypherpunks repositories - gostls13.git/commitdiff
netchan: fix typo in test
authorRob Pike <r@golang.org>
Thu, 3 Jun 2010 20:16:09 +0000 (13:16 -0700)
committerRob Pike <r@golang.org>
Thu, 3 Jun 2010 20:16:09 +0000 (13:16 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/1522041

src/pkg/netchan/netchan_test.go

index 1981a00c9ecc48404faf0d0af5867e6630ed5610..ca3f4d4c79883ca86b396b59b360a1cbcefaa391 100644 (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
                }