mirror of
https://github.com/golang/go
synced 2024-11-21 22:24:40 -07:00
netchan: fix unimportant typo in test error call.
R=adg CC=golang-dev https://golang.org/cl/2211044
This commit is contained in:
parent
da705c6212
commit
724886b0c0
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user