Commit e970ddb6 authored by Mikio Hara's avatar Mikio Hara

go.net/websocket: fix nits found by go tool vet

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/27440043
parent 867c418f
......@@ -245,7 +245,7 @@ func TestWithTwoProtocol(t *testing.T) {
func TestWithBadProtocol(t *testing.T) {
_, err := testWithProtocol(t, []string{"test"})
if err != ErrBadStatus {
t.Errorf("SubProto: expected %q, got %q", ErrBadStatus)
t.Errorf("SubProto: expected %v, got %v", ErrBadStatus, err)
}
}
......
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