MCPcopy Create free account
hub / github.com/git/git / test_strvec__split_single_item

Function test_strvec__split_single_item

t/unit-tests/u-strvec.c:263–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263void test_strvec__split_single_item(void)
264{
265 struct strvec vec = STRVEC_INIT;
266
267 strvec_split(&vec, "foo");
268 check_strvec(&vec, "foo", NULL);
269 strvec_clear(&vec);
270}
271
272void test_strvec__split_multiple_items(void)
273{

Callers

nothing calls this directly

Calls 2

strvec_splitFunction · 0.85
strvec_clearFunction · 0.85

Tested by

no test coverage detected