Commit 724886b0 authored by Rob Pike's avatar Rob Pike

netchan: fix unimportant typo in test error call.

R=adg
CC=golang-dev
https://golang.org/cl/2211044
parent da705c62
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment