mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
feat(tag): add more bindings and api methods
This commit is contained in:
parent
0ed5e7c797
commit
c88b75b0fd
3 changed files with 72 additions and 0 deletions
|
@ -80,5 +80,16 @@ void main() {
|
|||
newTagTarget.free();
|
||||
signature.free();
|
||||
});
|
||||
|
||||
test('returns list of tags in repository', () {
|
||||
expect(Tag.list(repo), ['v0.1', 'v0.2']);
|
||||
});
|
||||
|
||||
test('successfully deletes tag', () {
|
||||
expect(Tag.list(repo), ['v0.1', 'v0.2']);
|
||||
|
||||
tag.delete();
|
||||
expect(Tag.list(repo), ['v0.1']);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue