diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-05-16 01:52:31 +0200 |
---|---|---|
committer | Andreas Ericsson <ae@op5.se> | 2010-06-02 10:32:06 +0200 |
commit | 42281e007e15713713b2ff4324d60360332e194e (patch) | |
tree | bc5aba43f785c144c9b5c6406ffbce6a7fec5304 /src/commit.h | |
parent | 4caa8962a6af9fac72ab81afb03779bc3acff910 (diff) | |
download | libgit2-42281e007e15713713b2ff4324d60360332e194e.tar.gz |
Add unit tests for Commit parsing
A few initial tests for commit parsing:
"parse_buffer_test" tests git_commit__parse_buffer() with
several malformed commit messages and a few corner cases
which should pass.
"parse_oid_test" tests git_commit__parse_oid() with several
malformed commit lines containing broken SHA1 OIDs.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/commit.h')
0 files changed, 0 insertions, 0 deletions