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

Unified Diff: tests/standalone/io/file_output_stream_test.dart

Issue 11364097: Allow Directory.create to create all missing path components. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload Created 8 years, 1 month 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
Index: tests/standalone/io/file_output_stream_test.dart
diff --git a/tests/standalone/io/file_output_stream_test.dart b/tests/standalone/io/file_output_stream_test.dart
index 75e2732a81cd9211a7c5a71a5cdb466ebbaa2bcf..412ea5c04304d7bd0bacc7000dd936deaa591b57 100644
--- a/tests/standalone/io/file_output_stream_test.dart
+++ b/tests/standalone/io/file_output_stream_test.dart
@@ -38,7 +38,7 @@ void testOutputStreamNoPendingWrite() {
// Create a port for waiting on the final result of this test.
ReceivePort done = new ReceivePort();
done.receive((message, replyTo) {
- tempDirectory.deleteRecursively().then((ignore) => done.close());
+ tempDirectory.delete(recursive: true).then((ignore) => done.close());
});
new Directory('').createTemp().then((temp) {

Powered by Google App Engine
This is Rietveld 408576698