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

Unified Diff: sdk/lib/_internal/pub_generated/test/cache/repair/handles_failure_test.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
Index: sdk/lib/_internal/pub_generated/test/cache/repair/handles_failure_test.dart
diff --git a/sdk/lib/_internal/pub/test/cache/repair/handles_failure_test.dart b/sdk/lib/_internal/pub_generated/test/cache/repair/handles_failure_test.dart
similarity index 61%
copy from sdk/lib/_internal/pub/test/cache/repair/handles_failure_test.dart
copy to sdk/lib/_internal/pub_generated/test/cache/repair/handles_failure_test.dart
index 6f9e009bf1d2e1d52a6e14012735f459f8dc6bf8..54f953a34a6f852570f1dc7727853bcb8ade8205 100644
--- a/sdk/lib/_internal/pub/test/cache/repair/handles_failure_test.dart
+++ b/sdk/lib/_internal/pub_generated/test/cache/repair/handles_failure_test.dart
@@ -20,24 +20,23 @@ main() {
});
// Set up a cache with some packages.
- d.dir(cachePath, [
- d.dir('hosted', [
- d.async(port.then((p) => d.dir('localhost%58$p', [
- d.dir("foo-1.2.3", [
- d.libPubspec("foo", "1.2.3"),
- d.file("broken.txt")
- ]),
- d.dir("foo-1.2.4", [
- d.libPubspec("foo", "1.2.4"),
- d.file("broken.txt")
- ]),
- d.dir("foo-1.2.5", [
- d.libPubspec("foo", "1.2.5"),
- d.file("broken.txt")
- ])
- ])))
- ])
- ]).create();
+ d.dir(
+ cachePath,
+ [
+ d.dir(
+ 'hosted',
+ [
+ d.async(
+ port.then(
+ (p) =>
+ d.dir(
+ 'localhost%58$p',
+ [
+ d.dir("foo-1.2.3", [d.libPubspec("foo", "1.2.3"), d.file("broken.txt")]),
+ d.dir("foo-1.2.4", [d.libPubspec("foo", "1.2.4"), d.file("broken.txt")]),
+ d.dir(
+ "foo-1.2.5",
+ [d.libPubspec("foo", "1.2.5"), d.file("broken.txt")])])))])]).create();
// Repair them.
var pub = startPub(args: ["cache", "repair"]);

Powered by Google App Engine
This is Rietveld 408576698