Index: sdk/lib/_internal/pub_generated/test/cache/repair/updates_binstubs_test.dart |
diff --git a/sdk/lib/_internal/pub/test/cache/repair/updates_binstubs_test.dart b/sdk/lib/_internal/pub_generated/test/cache/repair/updates_binstubs_test.dart |
similarity index 70% |
copy from sdk/lib/_internal/pub/test/cache/repair/updates_binstubs_test.dart |
copy to sdk/lib/_internal/pub_generated/test/cache/repair/updates_binstubs_test.dart |
index 1d612a1b6162a8d6523aa8b8bc274dab54b246ea..874796e74a53e8a277114e10261ab4513e577d76 100644 |
--- a/sdk/lib/_internal/pub/test/cache/repair/updates_binstubs_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/cache/repair/updates_binstubs_test.dart |
@@ -27,24 +27,20 @@ main() { |
"executables": { |
"foo-script": "script" |
} |
- }, contents: [ |
- d.dir("bin", [ |
- d.file("script.dart", "main(args) => print('ok \$args');") |
- ]) |
- ]); |
+ }, |
+ contents: [ |
+ d.dir("bin", [d.file("script.dart", "main(args) => print('ok \$args');")])]); |
}); |
schedulePub(args: ["global", "activate", "foo"]); |
- d.dir(cachePath, [ |
- d.dir('bin', [ |
- d.file(binStubName('foo-script'), _OUTDATED_BINSTUB) |
- ]) |
- ]).create(); |
+ d.dir( |
+ cachePath, |
+ [ |
+ d.dir('bin', [d.file(binStubName('foo-script'), _OUTDATED_BINSTUB)])]).create(); |
// Repair them. |
- schedulePub(args: ["cache", "repair"], |
- output: ''' |
+ schedulePub(args: ["cache", "repair"], output: ''' |
Downloading foo 1.0.0... |
Reinstalled 1 package. |
Reactivating foo 1.0.0... |
@@ -55,11 +51,11 @@ main() { |
Reactivated 1 package.'''); |
// The broken versions should have been replaced. |
- d.dir(cachePath, [ |
- d.dir('bin', [ |
- // 255 is the VM's exit code upon seeing an out-of-date snapshot. |
- d.matcherFile(binStubName('foo-script'), contains('255')) |
- ]) |
- ]).validate(); |
+ d.dir( |
+ cachePath, |
+ [d.dir('bin', [// 255 is the VM's exit code upon seeing an out-of-date snapshot. |
+ d.matcherFile( |
+ binStubName('foo-script'), |
+ contains('255'))])]).validate(); |
}); |
} |