mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
add missing check for err variable in test
This commit is contained in:
parent
713d781bad
commit
d25131f2f2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue