MCPcopy Create free account
hub / github.com/apache/arrow-rs / test_extend_nulls_panic

Function test_extend_nulls_panic

arrow/tests/array_transform.rs:1025–1029  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1023#[test]
1024#[should_panic(expected = "MutableArrayData not nullable")]
1025fn test_extend_nulls_panic() {
1026 let int = Int32Array::from(vec![1, 2, 3, 4]).into_data();
1027 let mut mutable = MutableArrayData::new(vec![&int], false, 4);
1028 mutable.extend_nulls(2);
1029}
1030
1031#[test]
1032fn test_string_view() {

Callers

nothing calls this directly

Calls 2

extend_nullsMethod · 0.80
into_dataMethod · 0.45

Tested by

no test coverage detected