From 76b8de1f80b9367d55163b739a1ec82cf79330f2 Mon Sep 17 00:00:00 2001 From: Aleksey Kulikov Date: Thu, 21 Apr 2022 15:16:32 +0300 Subject: [PATCH] test(diff): fix test failing on Windows CI --- test/diff_test.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/diff_test.dart b/test/diff_test.dart index 9cfd8b5..463a030 100644 --- a/test/diff_test.dart +++ b/test/diff_test.dart @@ -128,7 +128,9 @@ index e69de29..c217c63 100644 tearDown(() { repo.free(); - tmpDir.deleteSync(recursive: true); + if (Platform.isLinux || Platform.isMacOS) { + tmpDir.deleteSync(recursive: true); + } }); group('Diff', () {