test(sdk): A TODO has been resolved.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user