Commit c31f987b authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

websocket: better error message in a test

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5185045
parent 93b8438e
...@@ -227,7 +227,7 @@ func TestTrailingSpaces(t *testing.T) { ...@@ -227,7 +227,7 @@ func TestTrailingSpaces(t *testing.T) {
// body // body
ws, err := DialConfig(config) ws, err := DialConfig(config)
if err != nil { if err != nil {
t.Error("Dial failed:", err.String()) t.Errorf("Dial #%d failed: %v", i, err)
break break
} }
ws.Close() ws.Close()
......
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