summaryrefslogtreecommitdiff
path: root/tests/diff/diff_helpers.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-04-25 16:47:48 -0400
committerEdward Thomson <ethomson@github.com>2016-06-25 23:08:04 -0400
commite774d5af764c521f3a5740f8c0f7b859ebb109c8 (patch)
tree9577efa758999bb6478d633e3f5abdd28705f44b /tests/diff/diff_helpers.h
parent853e585fb13475073c7000d74934f6c96c1e1a47 (diff)
downloadlibgit2-e774d5af764c521f3a5740f8c0f7b859ebb109c8.tar.gz
diff::parse tests: test parsing a diff
Test that we can create a diff file, then parse the results and that the two are identical in-memory.
Diffstat (limited to 'tests/diff/diff_helpers.h')
-rw-r--r--tests/diff/diff_helpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/diff/diff_helpers.h b/tests/diff/diff_helpers.h
index 4d3cd3474..520b654d3 100644
--- a/tests/diff/diff_helpers.h
+++ b/tests/diff/diff_helpers.h
@@ -68,3 +68,6 @@ extern int diff_foreach_via_iterator(
extern void diff_print(FILE *fp, git_diff *diff);
extern void diff_print_raw(FILE *fp, git_diff *diff);
+
+extern void diff_assert_equal(git_diff *a, git_diff *b);
+