Skip to content

Commit 21c448f

Browse files
committed
fix unit test
1 parent ec0a046 commit 21c448f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

arrow-array/src/array/mod.rs

-11
Original file line numberDiff line numberDiff line change
@@ -1026,17 +1026,6 @@ mod tests {
10261026
);
10271027
}
10281028

1029-
#[test]
1030-
fn test_memory_size_primitive_sliced() {
1031-
let arr = PrimitiveArray::<Int64Type>::from_iter_values(0..128);
1032-
let slice1 = arr.slice(0, 64);
1033-
let slice2 = arr.slice(64, 64);
1034-
1035-
// both slices report the full buffer memory usage, even though the buffers are shared
1036-
assert_eq!(slice1.get_array_memory_size(), arr.get_array_memory_size());
1037-
assert_eq!(slice2.get_array_memory_size(), arr.get_array_memory_size());
1038-
}
1039-
10401029
#[test]
10411030
fn test_memory_size_primitive_nullable() {
10421031
let arr: PrimitiveArray<Int64Type> = (0..128)

0 commit comments

Comments
 (0)