test: improve coverage (#44)

This commit is contained in:
Aleksey Kulikov 2022-01-26 16:11:38 +03:00 committed by GitHub
parent bad5e20581
commit 7b57c41253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 171 additions and 40 deletions

View file

@ -352,7 +352,7 @@ void main() {
repo: repo,
tagName: '',
target: repo['9c78c21'],
targetType: GitObject.commit,
targetType: GitObject.any,
tagger: Signature(nullptr),
message: '',
),
@ -366,7 +366,7 @@ void main() {
repo: repo,
tagName: '',
target: repo['9c78c21'],
targetType: GitObject.commit,
targetType: GitObject.any,
),
throwsA(isA<LibGit2Error>()),
);