mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
test: improve coverage
This commit is contained in:
parent
d75acbfdd3
commit
d6eae1e9ed
71 changed files with 710 additions and 229 deletions
|
@ -131,5 +131,14 @@ void main() {
|
|||
|
||||
index.free();
|
||||
});
|
||||
|
||||
test('successfully describes with max candidates tags flag set', () {
|
||||
final index = repo.index;
|
||||
index.clear();
|
||||
|
||||
expect(repo.describe(maxCandidatesTags: 0), 'v0.2');
|
||||
|
||||
index.free();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue