Commit 34ab819ef923c3ff83be44b0c01373e65783b0ab

Vicent Martí 2012-02-23T14:45:40

Merge pull request #573 from schu/tests-notes-fix tests-clar/notes: init oid before using

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests-clar/notes/notes.c b/tests-clar/notes/notes.c
index eeb25ec..0e9a165 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(&note_oid, _repo, _sig, _sig, "refs/notes/some/namespace", &oid, "hello world\n"));
 	cl_git_pass(git_note_create(&note_oid, _repo, _sig, _sig, NULL, &oid, "hello world\n"));