aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorLinus Arver <linus@ucla.edu>2024-05-02 04:54:19 +0000
committerJunio C Hamano <gitster@pobox.com>2024-05-02 09:57:03 -0700
commit56b04883f04944240368f28a056d5aae59f3f52f (patch)
tree3a4261a1dfa093be36891f0c0cb5c48f1e1a7545 /commit.c
parentMakefile: sort UNIT_TEST_PROGRAMS (diff)
downloadgit-56b04883f04944240368f28a056d5aae59f3f52f.tar.gz
git-56b04883f04944240368f28a056d5aae59f3f52f.zip
trailer: add unit tests for trailer iterator
Test the number of trailers found by the iterator (to be more precise, the parsing mechanism which the iterator just walks over) when given some arbitrary log message. We test the iterator because it is a public interface function exposed by the trailer API (we generally don't want to test internal implementation details which are, unlike the API, subject to drastic changes). Signed-off-by: Linus Arver <linus@ucla.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions