git/t/unit-tests
Jeff King 34eb843721 t-strvec: mark variable-arg helper with LAST_ARG_MUST_BE_NULL
This will let the compiler catch a problem like:

  /* oops, we forgot the NULL */
  check_strvec(&vec, "foo");

rather than triggering undefined behavior at runtime.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-05-30 08:55:29 -07:00
..
.gitignore
t-ctype.c t-ctype: avoid duplicating class names 2024-03-03 09:47:33 -08:00
t-mem-pool.c mem-pool: fix big allocations 2023-12-28 12:22:43 -08:00
t-prio-queue.c t-prio-queue: simplify using compound literals 2024-04-02 13:41:32 -07:00
t-strbuf.c
t-strvec.c t-strvec: mark variable-arg helper with LAST_ARG_MUST_BE_NULL 2024-05-30 08:55:29 -07:00
t-trailer.c trailer unit tests: inspect iterator contents 2024-05-02 09:57:08 -07:00
test-lib.c strvec: add functions to replace and remove strings 2024-05-27 11:20:02 -07:00
test-lib.h strvec: add functions to replace and remove strings 2024-05-27 11:20:02 -07:00