| Index: tools/test.dart
|
| diff --git a/tools/test.dart b/tools/test.dart
|
| index e00357d956c316bc20d7d65aa4d385fe45eecb47..76e492898ad868da94f28c143788ded1e3ddf5fa 100755
|
| --- a/tools/test.dart
|
| +++ b/tools/test.dart
|
| @@ -41,7 +41,8 @@ Future _deleteTemporaryDartDirectories() {
|
| var environment = Platform.environment;
|
| if (environment['DART_TESTING_DELETE_TEMPORARY_DIRECTORIES'] == '1') {
|
| LeftOverTempDirPrinter.getLeftOverTemporaryDirectories().listen(
|
| - (Directory tempDirectory) {
|
| + (FileSystemEntity tempEntity) {
|
| + Directory tempDirectory = tempEntity as Directory;
|
| try {
|
| tempDirectory.deleteSync(recursive: true);
|
| } catch (error) {
|
|
|