diff options
author | Rob Pike <r@golang.org> | 2010-09-20 17:24:40 +1000 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-09-20 17:24:40 +1000 |
commit | 9d0814398e36c11109c9cfd45a10f0bca362634b (patch) | |
tree | dbd046a024f31444212cd567347dc7afb9839405 | |
parent | 801ca5c9723b54ca915fcec44cd9734714c05c57 (diff) | |
download | go-9d0814398e36c11109c9cfd45a10f0bca362634b.tar.gz |
netchan: fix unimportant typo in test error call.
R=adg
CC=golang-dev
http://codereview.appspot.com/2211044
-rw-r--r-- | src/pkg/netchan/netchan_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/netchan/netchan_test.go b/src/pkg/netchan/netchan_test.go index 4240b0786..c695db6ad 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") |