style: stricter linting

This commit is contained in:
Aleksey Kulikov 2022-02-23 11:05:14 +03:00
parent d0f7746a01
commit 2eb50dec69
12 changed files with 47 additions and 27 deletions

View file

@ -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();