From a23a300a264b678208de76f673110bb537a6b5ff Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 15 Sep 2019 14:45:57 -0700 Subject: [PATCH] fix login test --- src/login/login.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login/login.rs b/src/login/login.rs index d5c98a8..b7e36bb 100644 --- a/src/login/login.rs +++ b/src/login/login.rs @@ -193,7 +193,7 @@ mod test { security_data: [74, 97, 107, 101, 115, 101, 114, 118, 50, 48, 50, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - })).collect::>(); + })).unwrap().collect::>(); assert!(send == vec![ (ClientId(1), SendLoginPacket::LoginResponse(LoginResponse { flag: 0,