gobwas / ws

Tiny WebSocket library for Go.
MIT License
6.12k stars 376 forks source link

ws,wsutil: use t.Fatal instead of panic #175

Closed alexandear closed 1 year ago

alexandear commented 1 year ago

This PR replaces panic(err) with t.Fatal(err) where possible in wsutil tests. Also, replace t.Error(err); return with t.Fatal(err).

cristaloleg commented 1 year ago

Oops, I somehow missed this PR. Can you rebase it on the latest master please?

alexandear commented 1 year ago

@cristaloleg done

cristaloleg commented 1 year ago

Thanks!