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

Function test_strvec__split_whitespace_only

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

Source from the content-addressed store, hash-verified

279}
280
281void test_strvec__split_whitespace_only(void)
282{
283 struct strvec vec = STRVEC_INIT;
284
285 strvec_split(&vec, " \t\n");
286 check_strvec(&vec, NULL);
287 strvec_clear(&vec);
288}
289
290void test_strvec__split_multiple_consecutive_whitespaces(void)
291{

Callers

nothing calls this directly

Calls 2

strvec_splitFunction · 0.85
strvec_clearFunction · 0.85

Tested by

no test coverage detected