()
| 3104 | #[test] |
| 3105 | #[should_panic(expected = "index out of bounds")] |
| 3106 | fn test_invalid_truncated_array() { |
| 3107 | let row: &[u8] = &[0x02]; |
| 3108 | let binary_rows = BinaryArray::from(vec![row]); |
| 3109 | |
| 3110 | let converter = RowConverter::new(vec![SortField::new(DataType::Utf8)]).unwrap(); |
| 3111 | let parsed = converter.from_binary(binary_rows); |
| 3112 | |
| 3113 | converter.convert_rows(parsed.iter()).unwrap(); |
| 3114 | } |
| 3115 | |
| 3116 | #[test] |
| 3117 | #[should_panic(expected = "rows were not produced by this RowConverter")] |
nothing calls this directly
no test coverage detected