From 49bba4d47190e44c5bd96b6db595fa34dc83a2b9 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Wed, 1 Apr 2026 12:12:58 +0200 Subject: [PATCH] test(sdk): A `TODO` has been resolved. --- crates/matrix-sdk/src/sliding_sync/client.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/crates/matrix-sdk/src/sliding_sync/client.rs b/crates/matrix-sdk/src/sliding_sync/client.rs index 8bbefd053..5e9e157a4 100644 --- a/crates/matrix-sdk/src/sliding_sync/client.rs +++ b/crates/matrix-sdk/src/sliding_sync/client.rs @@ -757,16 +757,6 @@ mod tests { } ); - // And another one. - // TODO: maybe something to investigate why we receive two in a row? - assert_matches!( - room_info_notable_update_stream.recv().await, - Ok(RoomInfoNotableUpdate { room_id: received_room_id, reasons: received_reasons }) => { - assert_eq!(received_room_id, room_id); - assert!(received_reasons.contains(RoomInfoNotableUpdateReasons::LATEST_EVENT), "{received_reasons:?}"); - } - ); - yield_now().await; // Then the stream gets quiet.