test fixup

This commit is contained in:
adman
2026-03-20 17:57:03 +01:00
parent 43fea40d08
commit 29baf8da9f
6 changed files with 57 additions and 4 deletions
+2
View File
@@ -48,6 +48,8 @@ func (s *StatusClient) OnPong(p *v1_21_8.StatusToClientPacketPing) (err error) {
return
}
// StatusRaw returns a StatusClient that is not connected to a server.
// So ignore the resource leak warning. And maybe attach a warn ignore comment
func StatusRaw(addr string) (s *StatusClient, err error) {
c, err := ConnectVersionLess(addr)
if err != nil {