Commit 8e9a3d42 by nulltoken

Enforce the testing of the correct creation of a tag

parent 673de2cf
......@@ -94,6 +94,7 @@ BEGIN_TEST(write0, "write a tag to the repository and read it again")
git_signature_free((git_signature *)tagger);
must_pass(git_tag_lookup(&tag, repo, &tag_id));
must_be_true(git_oid_cmp(git_tag_target_oid(tag), &target_id) == 0);
/* Check attributes were set correctly */
tagger = git_tag_tagger(tag);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment