aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-09-20 17:24:40 +1000
committerRob Pike <r@golang.org>2010-09-20 17:24:40 +1000
commit724886b0c05f5eb5236e99d8c01b239eca9d3b91 (patch)
tree0a10af48b0eb4a837cf69998bfd977b098246b67
parentda705c621205163a1af0325578d99e04df58837f (diff)
downloadgo-724886b0c05f5eb5236e99d8c01b239eca9d3b91.tar.gz
go-724886b0c05f5eb5236e99d8c01b239eca9d3b91.zip
netchan: fix unimportant typo in test error call.
R=adg CC=golang-dev https://golang.org/cl/2211044
-rw-r--r--src/pkg/netchan/netchan_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/netchan/netchan_test.go b/src/pkg/netchan/netchan_test.go
index 4240b07869..c695db6ad8 100644
--- a/src/pkg/netchan/netchan_test.go
+++ b/src/pkg/netchan/netchan_test.go
@@ -170,7 +170,7 @@ func TestErrorForIllegalChannel(t *testing.T) {
select {
case err = <-imp.Errors():
if strings.Index(err.String(), "no such channel") < 0 {
- t.Errorf("wrong error for nonexistent channel:", err)
+ t.Error("wrong error for nonexistent channel:", err)
}
case <-timeout:
t.Error("import of nonexistent channel did not receive an error")