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

Function test_into_builder_err

arrow-array/src/array/string_array.rs:545–553  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

543
544 #[test]
545 fn test_into_builder_err() {
546 let array: StringArray = vec!["hello", "arrow"].into();
547
548 // Clone it, so we cannot get a mutable builder back
549 let shared_array = array.clone();
550
551 let err_return = array.into_builder().unwrap_err();
552 assert_eq!(&err_return, &shared_array);
553 }
554
555 #[test]
556 fn test_non_null_string_array_equal() {

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.45
into_builderMethod · 0.45

Tested by

no test coverage detected