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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error 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: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index 3c62afcc079494b1bf7c98f0096c36b364a25556..3b45775d9316c60040f8e4daa7fd1a0b2e0e728b 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -1157,7 +1157,9 @@ class TarFileDescriptor extends Descriptor {
return create(tempDir);
}).then((tar) {
var sourceStream = tar.openInputStream();
- pipeInputToInput(sourceStream, sinkStream, tempDir.deleteRecursively);
+ pipeInputToInput(sourceStream,
+ sinkStream,
+ () => tempDir.delete(recursive: true));
});
return sinkStream;
}

Powered by Google App Engine
This is Rietveld 408576698