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:
parent
93b8438e59
commit
c31f987bd6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user