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

Function test_strvec__pushv

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

Source from the content-addressed store, hash-verified

76}
77
78void test_strvec__pushv(void)
79{
80 const char *strings[] = {
81 "foo", "bar", "baz", NULL,
82 };
83 struct strvec vec = STRVEC_INIT;
84
85 strvec_pushv(&vec, strings);
86 check_strvec(&vec, "foo", "bar", "baz", NULL);
87
88 strvec_clear(&vec);
89}
90
91void test_strvec__splice_just_initialized_strvec(void)
92{

Callers

nothing calls this directly

Calls 2

strvec_pushvFunction · 0.85
strvec_clearFunction · 0.85

Tested by

no test coverage detected