Fix error message
parent
34cce1bb0d
commit
ed709d74a4
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue