summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-10-19 09:44:14 +0200
committerPatrick Steinhardt <ps@pks.im>2018-10-25 12:52:54 +0200
commit4c738e563d0a52c7f06902a6bdac37fe3472b86b (patch)
tree09c3f794561bcfdd530d4620fe68f33c62ad08f4 /src/commit.c
parent83e8a6b36acc67f2702cbbc7d4e334c7f7737719 (diff)
downloadlibgit2-4c738e563d0a52c7f06902a6bdac37fe3472b86b.tar.gz
tests: add tests that exercise tag parsing
While the tests in object::tag::read exercises reading and parsing valid tags from the ODB, they barely try to verify that the parser fails in a sane way when parsing invalid tags. Create a new test suite object::tag::parse that directly exercise the parser by using `git_object__from_raw` and add various tests for valid and invalid tags.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions