| 132 | } |
| 133 | |
| 134 | void test_strvec__splice_with_empty_replacement(void) |
| 135 | { |
| 136 | struct strvec vec = STRVEC_INIT; |
| 137 | |
| 138 | strvec_pushl(&vec, "foo", "bar", "baz", NULL); |
| 139 | strvec_splice(&vec, 0, 2, NULL, 0); |
| 140 | check_strvec(&vec, "baz", NULL); |
| 141 | strvec_clear(&vec); |
| 142 | } |
| 143 | |
| 144 | void test_strvec__splice_with_empty_original(void) |
| 145 | { |
nothing calls this directly
no test coverage detected