summaryrefslogtreecommitdiff
path: root/tests/t06-index.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-06-16 02:36:21 +0200
committerVicent Marti <tanoku@gmail.com>2011-06-16 02:36:21 +0200
commitfa48608ec30758dbf6d0d26d3c4f8efba8efe8e9 (patch)
tree31e3cc7bedaa6c4d3a8b8d37903991ed811eb02d /tests/t06-index.c
parent43521d0688c744e98f07f19dd0b15e6b2c763693 (diff)
downloadlibgit2-fa48608ec30758dbf6d0d26d3c4f8efba8efe8e9.tar.gz
oid: Rename methods
Yeah. Finally. Fuck the old names, this ain't POSIX and they don't make any sense at all.
Diffstat (limited to 'tests/t06-index.c')
-rw-r--r--tests/t06-index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t06-index.c b/tests/t06-index.c
index 621deab2e..51f89363e 100644
--- a/tests/t06-index.c
+++ b/tests/t06-index.c
@@ -196,7 +196,7 @@ BEGIN_TEST(add0, "add a new file to the index")
* This has been generated by executing the following
* $ echo "hey there" | git hash-object --stdin
*/
- must_pass(git_oid_mkstr(&id1, "a8233120f6ad708f843d861ce2b7228ec4e3dec6"));
+ must_pass(git_oid_fromstr(&id1, "a8233120f6ad708f843d861ce2b7228ec4e3dec6"));
/* Add the new file to the index */
must_pass(git_index_add(index, "test.txt", 0));