crypto: Fix an invalid assert in the crypto bench

master
Damir Jelić 2021-04-15 15:01:56 +02:00
parent 02331fa325
commit 9e817a623b
1 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ pub fn room_key_sharing(c: &mut Criterion) {
.await .await
.unwrap(); .unwrap();
assert!(requests.len() >= 8); assert!(!requests.is_empty());
for request in requests { for request in requests {
machine machine
@ -249,7 +249,7 @@ pub fn room_key_sharing(c: &mut Criterion) {
.await .await
.unwrap(); .unwrap();
assert!(requests.len() >= 8); assert!(!requests.is_empty());
for request in requests { for request in requests {
machine machine