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

Function test_string_concat_no_null

arrow-string/src/concat_elements.rs:411–420  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

409
410 #[test]
411 fn test_string_concat_no_null() {
412 let left = StringArray::from(vec!["foo", "bar"]);
413 let right = StringArray::from(vec!["bar", "baz"]);
414
415 let output = concat_elements_utf8(&left, &right).unwrap();
416
417 let expected = StringArray::from(vec!["foobar", "barbaz"]);
418
419 assert_eq!(output, expected);
420 }
421
422 #[test]
423 fn test_string_concat_error() {

Callers

nothing calls this directly

Calls 1

concat_elements_utf8Function · 0.85

Tested by

no test coverage detected