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"]); |