mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
refactor: move named arguments to front of tests
Use Dart's new feature "Named args everywhere"
This commit is contained in:
parent
c73f61d102
commit
3fc92cd937
2 changed files with 8 additions and 8 deletions
|
@ -84,6 +84,7 @@ void main() {
|
|||
});
|
||||
|
||||
test(
|
||||
testOn: '!linux',
|
||||
'clones repository with provided keypair',
|
||||
() {
|
||||
final cloneDir = Directory.systemTemp.createTempSync('clone');
|
||||
|
@ -107,7 +108,6 @@ void main() {
|
|||
cloneDir.deleteSync(recursive: true);
|
||||
}
|
||||
},
|
||||
testOn: '!linux',
|
||||
);
|
||||
|
||||
test('throws when no credentials is provided', () {
|
||||
|
@ -190,6 +190,7 @@ void main() {
|
|||
});
|
||||
|
||||
test(
|
||||
testOn: '!linux',
|
||||
'clones repository with provided keypair from memory',
|
||||
() {
|
||||
final cloneDir = Directory.systemTemp.createTempSync('clone');
|
||||
|
@ -217,7 +218,6 @@ void main() {
|
|||
cloneDir.deleteSync(recursive: true);
|
||||
}
|
||||
},
|
||||
testOn: '!linux',
|
||||
);
|
||||
|
||||
test('throws when provided keypair from memory is incorrect', () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue