mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-14 03:50:05 +00:00
removed useless closure
This commit is contained in:
parent
c4d885cf6d
commit
d1763418a8
@ -103,9 +103,7 @@ func TestLoginSuccSequence(t *testing.T) {
|
|||||||
|
|
||||||
recv := make(chan *cnet.PacketEvent)
|
recv := make(chan *cnet.PacketEvent)
|
||||||
peer := makeDummyPeer(ctx, is, recv)
|
peer := makeDummyPeer(ctx, is, recv)
|
||||||
defer func() {
|
defer peer.Kill()
|
||||||
peer.Kill()
|
|
||||||
}()
|
|
||||||
|
|
||||||
// send login request (this should create an account)
|
// send login request (this should create an account)
|
||||||
err := peer.Send(protocol.P_CL2LS_REQ_LOGIN, protocol.SP_CL2LS_REQ_LOGIN{
|
err := peer.Send(protocol.P_CL2LS_REQ_LOGIN, protocol.SP_CL2LS_REQ_LOGIN{
|
||||||
|
Loading…
Reference in New Issue
Block a user