File tree Expand file tree Collapse file tree
crates/matrix-sdk-ui/tests/integration/timeline Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,7 +257,6 @@ async fn test_edit_local_echo() {
257257 timeline. room ( ) . send_queue ( ) . set_enabled ( true ) ;
258258
259259 assert_let ! ( Some ( timeline_updates) = timeline_stream. next( ) . await ) ;
260- dbg ! ( & timeline_updates) ;
261260 assert_eq ! ( timeline_updates. len( ) , 5 ) ;
262261
263262 // Observe the event being sent, and replacing the local echo.
Original file line number Diff line number Diff line change @@ -502,7 +502,6 @@ async fn test_no_duplicate_date_divider() {
502502 sleep ( Duration :: from_millis ( 500 ) ) . await ;
503503
504504 assert_let ! ( Some ( timeline_updates) = timeline_stream. next( ) . await ) ;
505- dbg ! ( & timeline_updates) ;
506505 assert_eq ! ( timeline_updates. len( ) , 8 ) ;
507506
508507 // The first item should be updated first.
Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ async fn test_local_reaction_to_local_echo() {
446446 }
447447
448448 assert_let_timeout ! ( Some ( timeline_updates) = stream. next( ) ) ;
449- assert ! ( timeline_updates. len ( ) >= 1 ) ;
449+ assert ! ( ! timeline_updates. is_empty ( ) ) ;
450450
451451 // And then the remote echo for the reaction itself.
452452 for timeline_update in timeline_updates {
Original file line number Diff line number Diff line change @@ -1067,7 +1067,7 @@ async fn test_thread_timeline_gets_local_echoes() {
10671067
10681068 // Then as a remote echo.
10691069 assert_let_timeout ! ( Some ( timeline_updates) = stream. next( ) ) ;
1070- assert ! ( timeline_updates. len ( ) >= 1 ) ;
1070+ assert ! ( ! timeline_updates. is_empty ( ) ) ;
10711071
10721072 // Sometimes, a double `VectorDiff::Set` is received because of another update.
10731073 // Let's make the test reliable.
You can’t perform that action at this time.
0 commit comments