diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2022-07-13 22:25:11 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2022-07-13 22:50:33 -0400 |
| commit | b43567d655b6fbc562a165095a6980d19c4ae278 (patch) | |
| tree | ee84020f9f2c9f53a1f11656e2cd1205502cda48 /tests/libgit2/win32 | |
| parent | 433a133402fae298f8ee7613bcfd997c2712d269 (diff) | |
| download | libgit2-b43567d655b6fbc562a165095a6980d19c4ae278.tar.gz | |
sha256: indirection for experimental functions
The experimental function signature is only available when
`GIT_EXPERIMENTAL_SHA256` is enabled.
Diffstat (limited to 'tests/libgit2/win32')
| -rw-r--r-- | tests/libgit2/win32/forbidden.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libgit2/win32/forbidden.c b/tests/libgit2/win32/forbidden.c index 0500a80c3..c4e82e90d 100644 --- a/tests/libgit2/win32/forbidden.c +++ b/tests/libgit2/win32/forbidden.c @@ -37,7 +37,7 @@ void test_win32_forbidden__can_add_forbidden_filename_with_entry(void) entry.path = "aux"; entry.mode = GIT_FILEMODE_BLOB; - git_oid_fromstr(&entry.id, "da623abd956bb2fd8052c708c7ed43f05d192d37", GIT_OID_SHA1); + git_oid__fromstr(&entry.id, "da623abd956bb2fd8052c708c7ed43f05d192d37", GIT_OID_SHA1); cl_git_pass(git_index_add(index, &entry)); @@ -53,7 +53,7 @@ void test_win32_forbidden__cannot_add_dot_git_even_with_entry(void) entry.path = "foo/.git"; entry.mode = GIT_FILEMODE_BLOB; - git_oid_fromstr(&entry.id, "da623abd956bb2fd8052c708c7ed43f05d192d37", GIT_OID_SHA1); + git_oid__fromstr(&entry.id, "da623abd956bb2fd8052c708c7ed43f05d192d37", GIT_OID_SHA1); cl_git_fail(git_index_add(index, &entry)); |
