summaryrefslogtreecommitdiff
path: root/tests/reset/default.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reset/default.c')
-rw-r--r--tests/reset/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reset/default.c b/tests/reset/default.c
index e29e63550..57a3f7c51 100644
--- a/tests/reset/default.c
+++ b/tests/reset/default.c
@@ -57,7 +57,7 @@ static void assert_content_in_index(
if (!expected_shas)
continue;
- cl_git_pass(git_oid_streq(&entry->oid, expected_shas->strings[i]));
+ cl_git_pass(git_oid_streq(&entry->id, expected_shas->strings[i]));
} else
cl_assert_equal_i(should_exist, error != GIT_ENOTFOUND);
}