Index: sdk/lib/_internal/pub_generated/test/get/path/empty_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/get/path/empty_pubspec_test.dart b/sdk/lib/_internal/pub_generated/test/get/path/empty_pubspec_test.dart |
similarity index 63% |
copy from sdk/lib/_internal/pub/test/get/path/empty_pubspec_test.dart |
copy to sdk/lib/_internal/pub_generated/test/get/path/empty_pubspec_test.dart |
index 4950bec5bf855264c9627dfe9eddd9bac39ab325..4c3c78f7f424b92652f73eaab3e41f43e776680a 100644 |
--- a/sdk/lib/_internal/pub/test/get/path/empty_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub_generated/test/get/path/empty_pubspec_test.dart |
@@ -12,19 +12,17 @@ main() { |
initConfig(); |
// Regression test for issue 20103. |
integration('path dependency to an empty pubspec', () { |
- d.dir('foo', [ |
- d.libDir('foo'), |
- d.file('pubspec.yaml', '') |
- ]).create(); |
+ d.dir('foo', [d.libDir('foo'), d.file('pubspec.yaml', '')]).create(); |
- d.dir(appPath, [ |
- d.appPubspec({ |
- "foo": {"path": "../foo"} |
- }) |
- ]).create(); |
+ d.dir(appPath, [d.appPubspec({ |
+ "foo": { |
+ "path": "../foo" |
+ } |
+ })]).create(); |
- pubGet(exitCode: exit_codes.DATA, error: |
- 'Error on line 1, column 1 of ${p.join('..', 'foo', 'pubspec.yaml')}: ' |
+ pubGet( |
+ exitCode: exit_codes.DATA, |
+ error: 'Error on line 1, column 1 of ${p.join('..', 'foo', 'pubspec.yaml')}: ' |
'Missing the required "name" field.'); |
}); |
-} |
+} |