Fix error message

This commit is contained in:
178inaba 2017-04-24 17:25:56 +09:00
parent 34cce1bb0d
commit ed709d74a4

View File

@ -262,7 +262,7 @@ func TestDial(t *testing.T) {
_, rawurl, err := client.dial("ws://" + ts.Listener.Addr().String()) _, rawurl, err := client.dial("ws://" + ts.Listener.Addr().String())
if err == nil { if err == nil {
t.Fatalf("should not be fail: %v", err) t.Fatalf("should be fail: %v", err)
} }
_, rawurl, err = client.dial("ws://" + ts.Listener.Addr().String()) _, rawurl, err = client.dial("ws://" + ts.Listener.Addr().String())