test(sdk): A TODO has been resolved.

This commit is contained in:
Ivan Enderlin
2026-04-01 12:12:58 +02:00
parent f23deacec4
commit 49bba4d471
@@ -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.