Explorar el Código

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

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/27440043
Mikio Hara hace 12 años
padre
commit
e970ddb60a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      websocket/websocket_test.go

+ 1 - 1
websocket/websocket_test.go

@@ -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)
 	}
 }