mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
fix(tag): tag can point to any type of git object
This commit is contained in:
parent
fb69de66d2
commit
56713da648
4 changed files with 25 additions and 5 deletions
|
@ -325,7 +325,7 @@ void main() {
|
|||
|
||||
final newTag = repo[oid.sha] as Tag;
|
||||
final tagger = newTag.tagger;
|
||||
final newTagTarget = newTag.target;
|
||||
final newTagTarget = newTag.target as Commit;
|
||||
|
||||
expect(newTag.id.sha, '131a5eb6b7a880b5096c550ee7351aeae7b95a42');
|
||||
expect(newTag.name, tagName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue