test: fix tests failing on windows

This commit is contained in:
Aleksey Kulikov 2021-10-29 10:22:36 +03:00
parent bed8db3a12
commit 0f6a916d8b
7 changed files with 24 additions and 28 deletions

View file

@ -20,7 +20,11 @@ void main() {
tearDown(() {
repo.free();
tmpDir.deleteSync(recursive: true);
try {
tmpDir.deleteSync(recursive: true);
} catch (e) {
return;
}
});
group('Submodule', () {