| 183 | } |
| 184 | |
| 185 | void test_strvec__replace_in_between(void) |
| 186 | { |
| 187 | struct strvec vec = STRVEC_INIT; |
| 188 | |
| 189 | strvec_pushl(&vec, "foo", "bar", "baz", NULL); |
| 190 | strvec_replace(&vec, 1, "replaced"); |
| 191 | check_strvec(&vec, "foo", "replaced", "baz", NULL); |
| 192 | strvec_clear(&vec); |
| 193 | } |
| 194 | |
| 195 | void test_strvec__replace_with_substring(void) |
| 196 | { |
nothing calls this directly
no test coverage detected