From c41e85c0eae95b4d17ba3a116ce75e248f6cf4a8 Mon Sep 17 00:00:00 2001 From: David Estes Date: Wed, 15 May 2024 16:52:47 -0600 Subject: [PATCH] chore: clippy --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 9268a53..fc867ef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -921,7 +921,7 @@ pub mod tests { .query(&model, Some(filter), Pagination::default()) .await .unwrap(); - assert!(res.edges.len() > 0); + assert!(!res.edges.is_empty()); let node = &res.edges[0].node; let result: Ball = serde_json::from_value(node.content.clone()).unwrap(); assert_eq!(result.blue, 10);