()
| 1143 | |
| 1144 | #[test] |
| 1145 | fn test_non_null_empty_strings() { |
| 1146 | let s1 = StringArray::from(vec![Some(""), Some(""), Some("")]); |
| 1147 | let data = s1.to_data().into_builder().nulls(None).build().unwrap(); |
| 1148 | let s2 = StringArray::from(data); |
| 1149 | |
| 1150 | // s2 is identical to s1 except that it has no validity buffer but since there |
| 1151 | // are no nulls, s1 and s2 are equal |
| 1152 | test_equal(&s1, &s2, true); |
| 1153 | } |
| 1154 | |
| 1155 | #[test] |
| 1156 | fn test_null_empty_strings() { |
nothing calls this directly
no test coverage detected