From: Rob Pike Date: Mon, 20 Sep 2010 07:24:40 +0000 (+1000) Subject: netchan: fix unimportant typo in test error call. X-Git-Tag: weekly.2010-09-22~32 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=724886b0c05f5eb5236e99d8c01b239eca9d3b91;p=gostls13.git netchan: fix unimportant typo in test error call. R=adg CC=golang-dev https://golang.org/cl/2211044 --- 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")