mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
test: improve coverage
This commit is contained in:
parent
d75acbfdd3
commit
d6eae1e9ed
71 changed files with 710 additions and 229 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue