From 089ea841fddc4d3bbac5f12da31ac76d58d389dd Mon Sep 17 00:00:00 2001 From: "Jorge C. Leitao" Date: Sun, 18 Dec 2022 16:08:13 +0100 Subject: [PATCH] Fixed --- tests/it/compute/substring.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/it/compute/substring.rs b/tests/it/compute/substring.rs index 5b76a0ac348..b99400cbe08 100644 --- a/tests/it/compute/substring.rs +++ b/tests/it/compute/substring.rs @@ -130,11 +130,11 @@ fn without_nulls_utf8() -> Result<()> { cases .into_iter() .try_for_each::<_, Result<()>>(|(array, start, length, expected)| { - let array = Utf8Array::::from_slice(&array); + let array = Utf8Array::::from_slice(array); let result = substring(&array, start, &length)?; 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(()) })?;