[flutter_tools] deflake integration test with tryToDelete (#61253)

This commit is contained in:
Jonah Williams
2020-07-10 13:29:49 -07:00
committed by GitHub
parent afd745e893
commit 66556faef7

View File

@@ -82,7 +82,7 @@ void main() {
], workingDirectory: directory.path);
expect(result.stderr, isNot(contains('Oops; flutter has exited unexpectedly:')));
} finally {
directory.deleteSync(recursive: true);
tryToDelete(directory);
}
});