From 89e9aed4fcdbbc3600c878c480ca3feee8293142 Mon Sep 17 00:00:00 2001 From: "Jorge C. Leitao" Date: Sun, 18 Dec 2022 16:10:56 +0100 Subject: [PATCH] More fixes --- tests/it/compute/utf8.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/it/compute/utf8.rs b/tests/it/compute/utf8.rs index e9d8613ddeb..21b89aac3ba 100644 --- a/tests/it/compute/utf8.rs +++ b/tests/it/compute/utf8.rs @@ -51,12 +51,12 @@ fn with_nulls_utf8_lower() -> Result<()> { cases .into_iter() .try_for_each::<_, Result<()>>(|(array, expected)| { - let array = Utf8Array::::from(&array); + let array = Utf8Array::::from(array); let result = lower(&array)?; assert_eq!(array.len(), result.len()); let result = result.as_any().downcast_ref::>().unwrap(); - let expected = Utf8Array::::from(&expected); + let expected = Utf8Array::::from(expected); assert_eq!(&expected, result); Ok(()) @@ -115,12 +115,12 @@ fn without_nulls_utf8_lower() -> Result<()> { cases .into_iter() .try_for_each::<_, Result<()>>(|(array, expected)| { - let array = Utf8Array::::from_slice(&array); + let array = Utf8Array::::from_slice(array); let result = lower(&array)?; assert_eq!(array.len(), result.len()); let result = result.as_any().downcast_ref::>().unwrap(); - let expected = Utf8Array::::from_slice(&expected); + let expected = Utf8Array::::from_slice(expected); assert_eq!(&expected, result); Ok(()) })?; @@ -236,12 +236,12 @@ fn with_nulls_utf8() -> Result<()> { cases .into_iter() .try_for_each::<_, Result<()>>(|(array, expected)| { - let array = Utf8Array::::from(&array); + let array = Utf8Array::::from(array); let result = upper(&array)?; assert_eq!(array.len(), result.len()); let result = result.as_any().downcast_ref::>().unwrap(); - let expected = Utf8Array::::from(&expected); + let expected = Utf8Array::::from(expected); assert_eq!(&expected, result); Ok(()) @@ -300,12 +300,12 @@ fn without_nulls_utf8() -> Result<()> { cases .into_iter() .try_for_each::<_, Result<()>>(|(array, expected)| { - let array = Utf8Array::::from_slice(&array); + let array = Utf8Array::::from_slice(array); let result = upper(&array)?; assert_eq!(array.len(), result.len()); let result = result.as_any().downcast_ref::>().unwrap(); - let expected = Utf8Array::::from_slice(&expected); + let expected = Utf8Array::::from_slice(expected); assert_eq!(&expected, result); Ok(()) })?;