diff options
author | Vicent Marti <vicent@github.com> | 2014-01-27 09:39:36 -0800 |
---|---|---|
committer | Vicent Marti <vicent@github.com> | 2014-01-27 09:39:36 -0800 |
commit | 93954245e081ff803028431c5da2c8a073512643 (patch) | |
tree | cb9a16891871bead0af7188f7400c8e7ae4c8692 /tests/notes/notes.c | |
parent | 46e7fc1853bb92a2deae93543477f1c1255352d0 (diff) | |
parent | a1bbc0ce205b6d3496338d3253c847aa91cabc7b (diff) | |
download | libgit2-93954245e081ff803028431c5da2c8a073512643.tar.gz |
Merge pull request #2075 from libgit2/cmn/leftover-oid
Leftover OID -> ID changes
Diffstat (limited to 'tests/notes/notes.c')
-rw-r--r-- | tests/notes/notes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/notes/notes.c b/tests/notes/notes.c index c2579a2c4..e48d9df0e 100644 --- a/tests/notes/notes.c +++ b/tests/notes/notes.c @@ -21,7 +21,7 @@ static void assert_note_equal(git_note *note, char *message, git_oid *note_oid) git_blob *blob; cl_assert_equal_s(git_note_message(note), message); - cl_assert(!git_oid_cmp(git_note_oid(note), note_oid)); + cl_assert(!git_oid_cmp(git_note_id(note), note_oid)); cl_git_pass(git_blob_lookup(&blob, _repo, note_oid)); cl_assert_equal_s(git_note_message(note), (const char *)git_blob_rawcontent(blob)); @@ -290,7 +290,7 @@ void test_notes_notes__can_read_a_note_in_an_existing_fanout(void) cl_git_pass(git_note_read(¬e, _repo, "refs/notes/fanout", &target_oid)); cl_git_pass(git_oid_fromstr(¬e_oid, "08b041783f40edfe12bb406c9c9a8a040177c125")); - cl_assert(!git_oid_cmp(git_note_oid(note), ¬e_oid)); + cl_assert(!git_oid_cmp(git_note_id(note), ¬e_oid)); git_note_free(note); } |