login_test: fix sendAndRecv

removed the stale typecast lol
This commit is contained in:
CPunch 2023-12-06 20:17:36 -06:00
parent e1b9fa5d99
commit cba01a877d

View File

@ -63,7 +63,7 @@ func sendAndRecv(peer *cnet.Peer, recv chan *cnet.PacketEvent, is *is.I, sID, rI
// receive login response
evnt := <-recv
is.Equal(int(evnt.PktID), rID) // should receive expected type
is.Equal(evnt.PktID, rID) // should receive expected type
err = protocol.NewPacket(evnt.Pkt).Decode(in)
is.NoErr(err) // packet.Decode() should not return an error