diff --git a/matrix_sdk_crypto/benches/crypto_bench.rs b/matrix_sdk_crypto/benches/crypto_bench.rs index 271be9b7..6e656ae5 100644 --- a/matrix_sdk_crypto/benches/crypto_bench.rs +++ b/matrix_sdk_crypto/benches/crypto_bench.rs @@ -213,7 +213,7 @@ pub fn room_key_sharing(c: &mut Criterion) { .await .unwrap(); - assert!(requests.len() >= 8); + assert!(!requests.is_empty()); for request in requests { machine @@ -249,7 +249,7 @@ pub fn room_key_sharing(c: &mut Criterion) { .await .unwrap(); - assert!(requests.len() >= 8); + assert!(!requests.is_empty()); for request in requests { machine