mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
refactor!: use named arguments if there is more than one
This commit is contained in:
parent
ec80ad3dd4
commit
5f7fdf4bd3
66 changed files with 1920 additions and 1136 deletions
|
@ -27,7 +27,10 @@ void main() {
|
|||
});
|
||||
|
||||
test('finds object by short oid', () {
|
||||
final oid = Oid.fromSHA(repo, lastCommit.substring(0, 5));
|
||||
final oid = Oid.fromSHA(
|
||||
repo: repo,
|
||||
sha: lastCommit.substring(0, 5),
|
||||
);
|
||||
expect(oid.sha, lastCommit);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue