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/notesref.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/notesref.c')
-rw-r--r-- | tests/notes/notesref.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/notes/notesref.c b/tests/notes/notesref.c index c89b71ba5..a33141979 100644 --- a/tests/notes/notesref.c +++ b/tests/notes/notesref.c @@ -46,13 +46,13 @@ void test_notes_notesref__config_corenotesref(void) cl_git_pass(git_note_read(&_note, _repo, NULL, &oid)); cl_assert_equal_s("test123test\n", git_note_message(_note)); - 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); cl_git_pass(git_note_read(&_note, _repo, "refs/notes/mydefaultnotesref", &oid)); cl_assert_equal_s("test123test\n", git_note_message(_note)); - cl_assert(!git_oid_cmp(git_note_oid(_note), ¬e_oid)); + cl_assert(!git_oid_cmp(git_note_id(_note), ¬e_oid)); cl_git_pass(git_note_default_ref(&default_ref, _repo)); cl_assert_equal_s("refs/notes/mydefaultnotesref", default_ref); |