Merge pull request #172 from carlosmn/valgrind

ref test: update a forgotten repo -> repo2
This commit is contained in:
Vicent Martí 2011-05-08 14:00:06 -07:00
commit c912229e1f

View File

@ -292,7 +292,7 @@ BEGIN_TEST(create2, "create a new OID reference")
/* Similar test with a fresh new repository */
must_pass(git_repository_open(&repo2, TEMP_REPO_FOLDER));
must_pass(git_reference_lookup(&looked_up_ref, repo, new_head));
must_pass(git_reference_lookup(&looked_up_ref, repo2, new_head));
must_be_true(git_oid_cmp(&id, git_reference_oid(looked_up_ref)) == 0);
close_temp_repo(repo2);