| Index: sdk/lib/_internal/pub_generated/test/get/git/doesnt_fetch_if_nothing_changes_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/get/git/doesnt_fetch_if_nothing_changes_test.dart b/sdk/lib/_internal/pub_generated/test/get/git/doesnt_fetch_if_nothing_changes_test.dart
|
| similarity index 66%
|
| copy from sdk/lib/_internal/pub/test/get/git/doesnt_fetch_if_nothing_changes_test.dart
|
| copy to sdk/lib/_internal/pub_generated/test/get/git/doesnt_fetch_if_nothing_changes_test.dart
|
| index 54cd98c62e249139c31d33629878c382d0868699..c776a751131ae1a23a83643414991bbe57b5dc51 100644
|
| --- a/sdk/lib/_internal/pub/test/get/git/doesnt_fetch_if_nothing_changes_test.dart
|
| +++ b/sdk/lib/_internal/pub_generated/test/get/git/doesnt_fetch_if_nothing_changes_test.dart
|
| @@ -16,23 +16,23 @@ main() {
|
| integration("doesn't re-fetch a repository if nothing changes", () {
|
| ensureGit();
|
|
|
| - var repo = d.git('foo.git', [
|
| - d.libDir('foo'),
|
| - d.libPubspec('foo', '1.0.0')
|
| - ]);
|
| + var repo =
|
| + d.git('foo.git', [d.libDir('foo'), d.libPubspec('foo', '1.0.0')]);
|
| repo.create();
|
|
|
| d.appDir({
|
| - "foo": {"git": {"url": "../foo.git"}}
|
| + "foo": {
|
| + "git": {
|
| + "url": "../foo.git"
|
| + }
|
| + }
|
| }).create();
|
|
|
| pubGet();
|
|
|
| - d.dir(packagesPath, [
|
| - d.dir('foo', [
|
| - d.file('foo.dart', 'main() => "foo";')
|
| - ])
|
| - ]).validate();
|
| + d.dir(
|
| + packagesPath,
|
| + [d.dir('foo', [d.file('foo.dart', 'main() => "foo";')])]).validate();
|
|
|
| // Delete the repo. This will cause "pub get" to fail if it tries to
|
| // re-fetch.
|
| @@ -40,10 +40,8 @@ main() {
|
|
|
| pubGet();
|
|
|
| - d.dir(packagesPath, [
|
| - d.dir('foo', [
|
| - d.file('foo.dart', 'main() => "foo";')
|
| - ])
|
| - ]).validate();
|
| + d.dir(
|
| + packagesPath,
|
| + [d.dir('foo', [d.file('foo.dart', 'main() => "foo";')])]).validate();
|
| });
|
| }
|
|
|