diff --git a/test/credentials_test.dart b/test/credentials_test.dart index b88ae09..1d2b170 100644 --- a/test/credentials_test.dart +++ b/test/credentials_test.dart @@ -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); } });