MCPcopy Index your code
hub / github.com/git/git / test_strvec__pushf

Function test_strvec__pushf

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

Source from the content-addressed store, hash-verified

58}
59
60void test_strvec__pushf(void)
61{
62 struct strvec vec = STRVEC_INIT;
63
64 strvec_pushf(&vec, "foo: %d", 1);
65 check_strvec(&vec, "foo: 1", NULL);
66 strvec_clear(&vec);
67}
68
69void test_strvec__pushl(void)
70{

Callers

nothing calls this directly

Calls 2

strvec_pushfFunction · 0.85
strvec_clearFunction · 0.85

Tested by

no test coverage detected