Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: tools/test.dart

Issue 2264003002: Fix type error in test.dart script. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/testing/dart/test_progress.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | tools/testing/dart/test_progress.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698