summaryrefslogtreecommitdiff
path: root/tests/t0602-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t0602-write.c')
-rw-r--r--tests/t0602-write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t0602-write.c b/tests/t0602-write.c
index c5e5c7d94..d232193b7 100644
--- a/tests/t0602-write.c
+++ b/tests/t0602-write.c
@@ -5,7 +5,7 @@
#include <git/odb.h>
#include <git/index.h>
-#define TEST_INDEX_PATH "../resources/index"
+#define TEST_INDEX_PATH "../resources/testrepo.git/index"
int filecmp(const char *filename1, const char *filename2)
{
@@ -35,7 +35,7 @@ BEGIN_TEST(index_load_test)
git_index *index;
git_filelock out_file;
- index = git_index_alloc(TEST_INDEX_PATH);
+ index = git_index_alloc(TEST_INDEX_PATH, NULL);
must_be_true(index != NULL);
must_pass(git_index_read(index));
must_be_true(index->on_disk);