test: improve coverage

This commit is contained in:
Aleksey Kulikov 2021-10-15 17:37:38 +03:00
parent d75acbfdd3
commit d6eae1e9ed
71 changed files with 710 additions and 229 deletions

View file

@ -41,6 +41,7 @@ void main() {
expect(headParse.object.oid.sha, headSHA);
expect(headParse.reference, masterRef);
expect(headParse.toString(), contains('RevParse{'));
masterRef.free();
headParse.object.free();
@ -77,6 +78,7 @@ void main() {
expect(revspec.from.oid.sha, headSHA);
expect(revspec.to, isNull);
expect(revspec.flags, {GitRevSpec.single});
expect(revspec.toString(), contains('RevSpec{'));
revspec.from.free();