diff --git a/pragma-node/src/utils/signing/typed_data.rs b/pragma-node/src/utils/signing/typed_data.rs index ac742a05..4fa306d2 100644 --- a/pragma-node/src/utils/signing/typed_data.rs +++ b/pragma-node/src/utils/signing/typed_data.rs @@ -543,7 +543,7 @@ mod tests { // Optionally, you can assert certain properties of `typed_data` // For now, we'll just ensure that deserialization succeeds - assert!(typed_data.types.len() > 0); + assert!(!typed_data.types.is_empty()); assert!(!typed_data.primary_type.is_empty()); }