diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-06-13 11:39:36 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2017-06-13 11:43:20 +0200 |
| commit | b2e53f369239c9fc2c13ebf47398d05bc0a172fb (patch) | |
| tree | 83e999ab0fbd72a7775f0544a4e2fc0a71a2578c /tests/odb/backend/backend_helpers.h | |
| parent | 983e627d10215807d2727cc8321d83d02f11fee7 (diff) | |
| download | libgit2-b2e53f369239c9fc2c13ebf47398d05bc0a172fb.tar.gz | |
tests: odb: implement `exists_prefix` for the fake backend
The fake backend currently implements all reading functions except for
the `exists_prefix` one. Implement it to enable further testing of the
ODB layer.
Diffstat (limited to 'tests/odb/backend/backend_helpers.h')
| -rw-r--r-- | tests/odb/backend/backend_helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/odb/backend/backend_helpers.h b/tests/odb/backend/backend_helpers.h index 6cc1ce90d..5c393c0a5 100644 --- a/tests/odb/backend/backend_helpers.h +++ b/tests/odb/backend/backend_helpers.h @@ -9,6 +9,7 @@ typedef struct { git_odb_backend parent; int exists_calls; + int exists_prefix_calls; int read_calls; int read_header_calls; int read_prefix_calls; |
