Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Dec 18, 2022
1 parent 525a3fc commit 089ea84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/it/compute/substring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ fn without_nulls_utf8<O: Offset>() -> Result<()> {
cases
.into_iter()
.try_for_each::<_, Result<()>>(|(array, start, length, expected)| {
let array = Utf8Array::<O>::from_slice(&array);
let array = Utf8Array::<O>::from_slice(array);
let result = substring(&array, start, &length)?;
assert_eq!(array.len(), result.len());
let result = result.as_any().downcast_ref::<Utf8Array<O>>().unwrap();
let expected = Utf8Array::<O>::from_slice(&expected);
let expected = Utf8Array::<O>::from_slice(expected);
assert_eq!(&expected, result);
Ok(())
})?;
Expand Down

0 comments on commit 089ea84

Please sign in to comment.