| 193 | } |
| 194 | |
| 195 | void test_strvec__replace_with_substring(void) |
| 196 | { |
| 197 | struct strvec vec = STRVEC_INIT; |
| 198 | |
| 199 | strvec_pushl(&vec, "foo", NULL); |
| 200 | strvec_replace(&vec, 0, vec.v[0] + 1); |
| 201 | check_strvec(&vec, "oo", NULL); |
| 202 | strvec_clear(&vec); |
| 203 | } |
| 204 | |
| 205 | void test_strvec__remove_at_head(void) |
| 206 | { |
nothing calls this directly
no test coverage detected