From 3eb5a4dab94e95df071949a31e7765031511c8cf Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Wed, 23 Jun 2021 20:15:57 -0400 Subject: [PATCH] actually fix clippy --- postgres-protocol/src/types/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres-protocol/src/types/test.rs b/postgres-protocol/src/types/test.rs index 09edeee3..7c20cf3e 100644 --- a/postgres-protocol/src/types/test.rs +++ b/postgres-protocol/src/types/test.rs @@ -151,7 +151,7 @@ fn non_null_array() { .unwrap(); let array = array_from_sql(&buf).unwrap(); - assert!(array.has_nulls()); + assert!(!array.has_nulls()); assert_eq!(array.element_type(), 10); assert_eq!(array.dimensions().collect::>().unwrap(), dimensions); assert_eq!(array.values().collect::>().unwrap(), values);