Index: sdk/lib/_internal/pub_generated/test/global/activate/outdated_binstub_test.dart |
diff --git a/sdk/lib/_internal/pub/test/global/activate/outdated_binstub_test.dart b/sdk/lib/_internal/pub_generated/test/global/activate/outdated_binstub_test.dart |
similarity index 70% |
copy from sdk/lib/_internal/pub/test/global/activate/outdated_binstub_test.dart |
copy to sdk/lib/_internal/pub_generated/test/global/activate/outdated_binstub_test.dart |
index 51bcc837bab0a730a4f8c0f2c39c29d3ee454e19..65fd10b80a1d0eee4fde066fdb86b5e4f806b199 100644 |
--- a/sdk/lib/_internal/pub/test/global/activate/outdated_binstub_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/global/activate/outdated_binstub_test.dart |
@@ -31,28 +31,25 @@ 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(); |
schedulePub(args: ["global", "activate", "foo"]); |
- 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(); |
}); |
} |