From aa4254d92eb540e6346389691c06977cf50338e3 Mon Sep 17 00:00:00 2001 From: schu Date: Thu, 23 Feb 2012 23:27:29 +0100 Subject: tests-clar/notes: init oid before using MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported-by: Carlos Martín Nieto Signed-off-by: schu --- tests-clar/notes/notes.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests-clar/notes/notes.c') diff --git a/tests-clar/notes/notes.c b/tests-clar/notes/notes.c index eeb25eca0..0e9a165a6 100644 --- a/tests-clar/notes/notes.c +++ b/tests-clar/notes/notes.c @@ -26,6 +26,7 @@ void test_notes_notes__1(void) git_oid oid, note_oid; cl_git_pass(git_signature_now(&_sig, "alice", "alice@example.com")); + cl_git_pass(git_oid_fromstr(&oid, "8496071c1b46c854b31185ea97743be6a8774479")); cl_git_pass(git_note_create(¬e_oid, _repo, _sig, _sig, "refs/notes/some/namespace", &oid, "hello world\n")); cl_git_pass(git_note_create(¬e_oid, _repo, _sig, _sig, NULL, &oid, "hello world\n")); -- cgit v1.2.1