mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 12:49:08 -04:00
test: fix tests failing on windows
This commit is contained in:
parent
93b1711b51
commit
88455292d4
1 changed files with 1 additions and 6 deletions
|
@ -10,16 +10,11 @@ void main() {
|
|||
);
|
||||
|
||||
setUp(() {
|
||||
if (cloneDir.existsSync() && (Platform.isLinux || Platform.isMacOS)) {
|
||||
if (cloneDir.existsSync()) {
|
||||
cloneDir.deleteSync(recursive: true);
|
||||
}
|
||||
});
|
||||
|
||||
tearDown(() {
|
||||
if (cloneDir.existsSync() && (Platform.isLinux || Platform.isMacOS)) {
|
||||
cloneDir.deleteSync(recursive: true);
|
||||
}
|
||||
});
|
||||
group('Credentials', () {
|
||||
test('initializes username/password credentials', () {
|
||||
final credentials = const UserPass(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue