Skip to content

Commit 554d619

Browse files
committed
fixup bar clippy
1 parent 58ac9b6 commit 554d619

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

crates/matrix-sdk-ui/tests/integration/timeline/edit.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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.

crates/matrix-sdk-ui/tests/integration/timeline/queue.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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.

crates/matrix-sdk-ui/tests/integration/timeline/reactions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {

crates/matrix-sdk-ui/tests/integration/timeline/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)