mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 05:08:14 +03:00
add missing check for err variable in test
This commit is contained in:
parent
713d781bad
commit
d25131f2f2
@ -226,6 +226,7 @@ func TestWebsocket(t *testing.T) {
|
||||
t.Helper()
|
||||
|
||||
req, err := http.NewRequest(method, httpurl, nil)
|
||||
tcheck(t, err, "http newrequest")
|
||||
for k, v := range reqhdrs {
|
||||
req.Header.Add(k, v)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user