0.3.4-alpha.3.fix.1

This commit is contained in:
2026-09-21 17:45:12 +02:00
parent 4fb521f54e
commit bbecae5e0d
8 changed files with 123 additions and 46 deletions

View File

@@ -45,10 +45,9 @@ async fn binary_round_trip_and_clean_close_work_on_loopback() {
assert!(matches!(server_send, Ok(Ok(()))));
let client_receive = tokio::time::timeout(TEST_TIMEOUT, client_receiver.receive()).await;
match client_receive {
Ok(Ok(received)) => assert_eq!(
received,
game_realtime_transport_lib::TransportReceive::Message(game_realtime_transport_lib::TransportMessage::new(vec![9, 8, 7, 6]))
),
Ok(Ok(received)) => {
assert_eq!(received, game_realtime_transport_lib::TransportReceive::Message(game_realtime_transport_lib::TransportMessage::new(vec![9, 8, 7, 6])))
},
Ok(Err(error)) => panic!("client receive failed: {error}"),
Err(_) => panic!("client receive timed out"),
}