Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed May 29, 2024
1 parent 390180d commit d5d57c9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions xmtp_mls/src/groups/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,10 @@ mod tests {
let bola = ClientBuilder::new_test_client(&generate_local_wallet()).await;

let amal_group = amal.create_group(None).unwrap();
amal_group.add_members_by_inbox_id(&amal, vec![bola.inbox_id()]).await.unwrap();
amal_group
.add_members_by_inbox_id(&amal, vec![bola.inbox_id()])
.await
.unwrap();

// Get bola's version of the same group
let bola_groups = bola.sync_welcomes().await.unwrap();
Expand All @@ -1104,7 +1107,7 @@ mod tests {
let bola_members = bola_group.members().unwrap();

assert_eq!(amal_members.len(), 2);
assert_eq!(bola_members.len(), 2); // failing here!
assert_eq!(bola_members.len(), 2); // failing here, see len == 0
}

// Amal and Bola will both try and add Charlie from the same epoch.
Expand Down

0 comments on commit d5d57c9

Please sign in to comment.