valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.91k stars 1.76k forks source link

test: remove panics in client tests #1747

Closed alexandear closed 7 months ago

alexandear commented 7 months ago

The PR refactors client tests: return an error instead of using t.Fatal with panic. This is a more elegant and shorter solution.

erikdubbelboer commented 7 months ago

Thanks!