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

Unified Diff: pkg/scheduled_test/test/scheduled_process_test.dart

Issue 12540010: Work around issue 9252 in scheduled_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix pkg/http. Created 7 years, 9 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 | « pkg/scheduled_test/test/descriptor_test.dart ('k') | pkg/scheduled_test/test/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/test/scheduled_process_test.dart
diff --git a/pkg/scheduled_test/test/scheduled_process_test.dart b/pkg/scheduled_test/test/scheduled_process_test.dart
index 66b288f6ce63859e3ff01b83d85630bcd1ba27dd..aee756fe5e0a40ab7fc900ec3b8b3f7131f739b9 100644
--- a/pkg/scheduled_test/test/scheduled_process_test.dart
+++ b/pkg/scheduled_test/test/scheduled_process_test.dart
@@ -383,7 +383,7 @@ ScheduledProcess startDartProcess(String script) {
currentSchedule.onComplete.schedule(() {
return tempDir.catchError((_) => null).then((dir) {
if (dir == null) return;
- return new Directory(dir).delete(recursive: true);
+ return deleteDir(dir);
});
}, 'clean up temp dir');
« no previous file with comments | « pkg/scheduled_test/test/descriptor_test.dart ('k') | pkg/scheduled_test/test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698