fix missed errcheck in websocket test
This commit is contained in:
parent
5ad95fac42
commit
9611cfd620
1 changed files with 1 additions and 1 deletions
|
|
@ -518,7 +518,7 @@ func TestWSDialGenerateKeyError(t *testing.T) {
|
||||||
go func() {
|
go func() {
|
||||||
conn, _ := ln.Accept()
|
conn, _ := ln.Accept()
|
||||||
if conn != nil {
|
if conn != nil {
|
||||||
conn.Close()
|
_ = conn.Close()
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue