diff --git a/test/credentials_test.dart b/test/credentials_test.dart index 1d2b170..3bf56fc 100644 --- a/test/credentials_test.dart +++ b/test/credentials_test.dart @@ -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(