refactor!: use named arguments if there is more than one

This commit is contained in:
Aleksey Kulikov 2021-09-30 18:04:36 +03:00
parent ec80ad3dd4
commit 5f7fdf4bd3
66 changed files with 1920 additions and 1136 deletions

View file

@ -94,7 +94,7 @@ void main() {
expect(revspec.to?.id.sha, '5aecfa0fb97eadaac050ccb99f03c3fb65460ad4');
expect(revspec.flags, {GitRevSpec.range, GitRevSpec.mergeBase});
expect(
repo.mergeBase(revspec.from.id.sha, revspec.to!.id.sha),
repo.mergeBase(a: revspec.from.id.sha, b: revspec.to!.id.sha),
isA<Oid>(),
);