mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
style: stricter linting
This commit is contained in:
parent
d0f7746a01
commit
2eb50dec69
12 changed files with 47 additions and 27 deletions
|
@ -65,7 +65,7 @@ void main() {
|
|||
var headParse = RevParse.ext(repo: repo, spec: 'master');
|
||||
|
||||
expect(headParse.object.oid.sha, headSHA);
|
||||
expect(headParse.reference, masterRef);
|
||||
expect(headParse.reference?.equals(masterRef), true);
|
||||
expect(headParse.toString(), contains('RevParse{'));
|
||||
|
||||
masterRef.free();
|
||||
|
@ -82,7 +82,7 @@ void main() {
|
|||
headParse.object.oid.sha,
|
||||
'5aecfa0fb97eadaac050ccb99f03c3fb65460ad4',
|
||||
);
|
||||
expect(headParse.reference, featureRef);
|
||||
expect(headParse.reference?.equals(featureRef), true);
|
||||
|
||||
featureRef.free();
|
||||
headParse.object.free();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue