andy whyyyy pt 2
This commit is contained in:
		
							parent
							
								
									7d9a64865a
								
							
						
					
					
						commit
						780aa2d7e9
					
				| @ -228,7 +228,10 @@ mod test { | ||||
|         struct TestData; | ||||
|         impl DataAccess for TestData {} | ||||
|         let mut server = CharacterServerState::new(TestData {}); | ||||
|         let send = server.handle(1, &RecvCharacterPacket::Checksum(Checksum {flag: 0})).collect::<Vec<_>>(); | ||||
|         let send = server.handle(1, &RecvCharacterPacket::Checksum(Checksum {flag: 0, | ||||
|                                                                              checksum: 1234, | ||||
|                                                                              padding: 0, | ||||
|         })).collect::<Vec<_>>(); | ||||
|         assert!(send.len() == 1); | ||||
| 
 | ||||
|         let bytes = send[0].1.as_bytes(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user