()
| 611 | |
| 612 | #[test] |
| 613 | fn test_binary_view_concat_error() { |
| 614 | let left = BinaryViewArray::from_iter(vec![Some(b"foo" as &[u8]), Some(b"bar")]); |
| 615 | let right = BinaryViewArray::from_iter(vec![Some(b"baz" as &[u8])]); |
| 616 | |
| 617 | let output = concat_elements_binary_view_array(&left, &right); |
| 618 | assert_eq!( |
| 619 | output.unwrap_err().to_string(), |
| 620 | "Compute error: Arrays must have the same length: 2 != 1".to_string() |
| 621 | ); |
| 622 | } |
| 623 | |
| 624 | #[test] |
| 625 | fn test_binary_view_concat_empty() { |
nothing calls this directly
no test coverage detected