mirror of
https://git.proxmox.com/git/libgit2
synced 2026-02-01 19:03:40 +00:00
Enforce the testing of the correct creation of a tag
This commit is contained in:
parent
673de2cf59
commit
8e9a3d4217
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user