summaryrefslogtreecommitdiff
path: root/tests/checkout/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/checkout/index.c')
-rw-r--r--tests/checkout/index.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/checkout/index.c b/tests/checkout/index.c
index 48d6d79f9..57ce4313b 100644
--- a/tests/checkout/index.c
+++ b/tests/checkout/index.c
@@ -307,8 +307,8 @@ static int test_checkout_notify_cb(
cl_assert_equal_i(GIT_CHECKOUT_NOTIFY_CONFLICT, why);
cl_assert_equal_s(expectations->file, path);
- cl_assert_equal_i(0, git_oid_streq(&baseline->oid, expectations->sha));
- cl_assert_equal_i(0, git_oid_streq(&target->oid, expectations->sha));
+ cl_assert_equal_i(0, git_oid_streq(&baseline->id, expectations->sha));
+ cl_assert_equal_i(0, git_oid_streq(&target->id, expectations->sha));
return 0;
}