diff options
author | Russell Belfer <rb@github.com> | 2013-04-29 02:57:01 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-04-30 04:25:56 -0700 |
commit | a66c4bc846cb59512c1aa164211f3f912d9bc425 (patch) | |
tree | 1719ef0fe50eaa38a069643322bf39da41b04f34 /tests-clar/diff/diff_helpers.h | |
parent | e26b14c0345ef82771f222aa50be926f5969531d (diff) | |
download | libgit2-a66c4bc846cb59512c1aa164211f3f912d9bc425.tar.gz |
More tests for diff untracked directories
This includes more tests for various scenarios when diff includes
an untracked directory in the workdir with contents either ignored
or not.
Diffstat (limited to 'tests-clar/diff/diff_helpers.h')
-rw-r--r-- | tests-clar/diff/diff_helpers.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests-clar/diff/diff_helpers.h b/tests-clar/diff/diff_helpers.h index 674fd8e19..b39a69d1d 100644 --- a/tests-clar/diff/diff_helpers.h +++ b/tests-clar/diff/diff_helpers.h @@ -18,6 +18,13 @@ typedef struct { int line_ctxt; int line_adds; int line_dels; + + /* optional arrays of expected specific values */ + const char **names; + int *statuses; + + int debug; + } diff_expects; typedef struct { |