| 45 | } |
| 46 | |
| 47 | void test_strvec__push(void) |
| 48 | { |
| 49 | struct strvec vec = STRVEC_INIT; |
| 50 | |
| 51 | strvec_push(&vec, "foo"); |
| 52 | check_strvec(&vec, "foo", NULL); |
| 53 | |
| 54 | strvec_push(&vec, "bar"); |
| 55 | check_strvec(&vec, "foo", "bar", NULL); |
| 56 | |
| 57 | strvec_clear(&vec); |
| 58 | } |
| 59 | |
| 60 | void test_strvec__pushf(void) |
| 61 | { |
nothing calls this directly
no test coverage detected