diff options
Diffstat (limited to 'src/gistatic.c')
-rw-r--r-- | src/gistatic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gistatic.c b/src/gistatic.c index f049b74..0ce8394 100644 --- a/src/gistatic.c +++ b/src/gistatic.c @@ -953,14 +953,14 @@ static void test_last_commit_date() { struct git_repository *repo; const int e = git_repository_open_ext( &repo, - "tests/submodules/repo-1", + "tests/resources/repo-1/.gitdir", GIT_REPOSITORY_OPEN_NO_SEARCH, NULL ); assert(e == 0); char *const date = last_commit_date(repo); assert(date); - assert(strcmp(date, "2021-07-31 19:24") == 0); + assert(strcmp(date, "2021-07-31 19:29") == 0); free(date); git_repository_free(repo); test_ok(); @@ -970,7 +970,7 @@ static void test_last_commit_date() { struct git_repository *repo; const int e = git_repository_open_ext( &repo, - "tests/submodules/repo-2", + "tests/resources/repo-2/.gitdir", GIT_REPOSITORY_OPEN_NO_SEARCH, NULL ); |