Skip to content

Commit

Permalink
replace assert false in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Jun 27, 2024
1 parent b369d25 commit c09b1dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xmtp_mls/src/groups/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2401,7 +2401,7 @@ mod tests {
if let Err(e) = &result {
eprintln!("Error adding member: {:?}", e);
} else {
assert!(false, "Expected error adding member");
panic!("Expected error adding member");
}

// Step 4: Bola attempts to update permissions but fails because they are not a super admin
Expand All @@ -2411,7 +2411,7 @@ mod tests {
if let Err(e) = &result {
eprintln!("Error updating permissions: {:?}", e);
} else {
assert!(false, "Expected error updating permissions");
panic!("Expected error updating permissions");
}

// Step 5: Amal updates group permissions so that all members can add
Expand Down

0 comments on commit c09b1dc

Please sign in to comment.