mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 12:19:09 -04:00
test: fix tests failing on windows
This commit is contained in:
parent
813de89745
commit
93b1711b51
1 changed files with 2 additions and 2 deletions
|
@ -10,13 +10,13 @@ void main() {
|
|||
);
|
||||
|
||||
setUp(() {
|
||||
if (cloneDir.existsSync()) {
|
||||
if (cloneDir.existsSync() && (Platform.isLinux || Platform.isMacOS)) {
|
||||
cloneDir.deleteSync(recursive: true);
|
||||
}
|
||||
});
|
||||
|
||||
tearDown(() {
|
||||
if (cloneDir.existsSync()) {
|
||||
if (cloneDir.existsSync() && (Platform.isLinux || Platform.isMacOS)) {
|
||||
cloneDir.deleteSync(recursive: true);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue