summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoryuangli <yuangli@mathworks.com>2022-07-29 16:04:43 +0100
committeryuangli <yuangli@mathworks.com>2022-07-29 16:04:43 +0100
commit179aac788d45d3683a93ad478bfb7371c549ca98 (patch)
tree326f023bee607629741245453c20416c75195aec /tests
parent598ec303c6862f581c22c49228d543442e30257a (diff)
downloadlibgit2-179aac788d45d3683a93ad478bfb7371c549ca98.tar.gz
fix clone::shallow test behaviour
Diffstat (limited to 'tests')
-rw-r--r--tests/libgit2/clone/shallow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libgit2/clone/shallow.c b/tests/libgit2/clone/shallow.c
index 2cd3d6cac..4b27b27a9 100644
--- a/tests/libgit2/clone/shallow.c
+++ b/tests/libgit2/clone/shallow.c
@@ -29,7 +29,7 @@ void test_clone_shallow__clone_depth_one(void)
git_revwalk *walk;
git_clone_options clone_opts = GIT_CLONE_OPTIONS_INIT;
git_oid oid;
- roots;
+ git_oidarray roots;
size_t num_commits = 0;
int error = 0;