1
0
mirror of https://github.com/golang/go synced 2024-11-12 07:00:21 -07:00

websocket: better error message in a test

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5185045
This commit is contained in:
Brad Fitzpatrick 2011-10-04 13:46:03 -07:00
parent 93b8438e59
commit c31f987bd6

View File

@ -227,7 +227,7 @@ func TestTrailingSpaces(t *testing.T) {
// body
ws, err := DialConfig(config)
if err != nil {
t.Error("Dial failed:", err.String())
t.Errorf("Dial #%d failed: %v", i, err)
break
}
ws.Close()