Skip to content

Commit

Permalink
Remove accidentally included test
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Aug 21, 2021
1 parent c2fc8d4 commit 918cf21
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions arrow/src/array/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -657,28 +657,6 @@ mod tests {
}
}

#[test]
fn test_null_map() {
let data_type = DataType::Map(
Box::new(Field::new(
"entry",
DataType::Struct(vec![
Field::new("key", DataType::Utf8, false),
Field::new("value", DataType::Int32, true),
]),
false,
)),
false,
);
let array = new_null_array(&data_type, 9);
let a = array.as_any().downcast_ref::<MapArray>().unwrap();
assert_eq!(a.len(), 9);
assert_eq!(a.value_offsets()[9], 0i32);
for i in 0..9 {
assert!(a.is_null(i));
}
}

#[test]
fn test_null_dictionary() {
let values = vec![None, None, None, None, None, None, None, None, None]
Expand Down

0 comments on commit 918cf21

Please sign in to comment.